WFLYCTL0313: Unauthorized to execute operation ... WFLYCTL0332: Permission denied on JBoss CLI
Issue
-
The
add
command returns the following error:{ "outcome" => "failed", "failure-description" => "WFLYCTL0313: Unauthorized to execute operation 'add' for resource '[(\"core-service\" => \"vault\")]' -- \"WFLYCTL0332: Permission denied\ "", "rolled-back" => true }
-
The
read-resource
command returns and error like:{ "outcome" => "failed", "failure-description" => "WFLYCTL0216: Management resource '[ (\"profile\" => \"default\"), (\"subsystem\" => \"security\"), (\"security-domain\" => \"other\") ]' not found", "rolled-back" => true }
Environment
- Red Hat JBoss Enterprise Applications Platform (JBoss EAP)
- 7
- Jboss-cli (Command Line Interface)
- RBAC (Role-based Access Control) enabled in management layer.
- User executing commands is not the Super User
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.