JBoss Community

Provide 'Manage' permissions to the user added to ManagementRealm using CLI

created by Ashish Tomar in JBoss AS 7 Development - View the full discussion

In order to use a module in my project,a developer must add user to ManagementRealm with manage permissions.

 

So if you add user after going through the steps described in the documentation, a developer is not given 'manage' permissions by itself.

What most developers did is to manually add following lines to standalone-full.xml:

<permission type="deleteDurableQueue" roles="guest"/>
<permission type="createNonDurableQueue" roles="guest"/>
<permission type="deleteNonDurableQueue" roles="guest"/>
<permission type="manage" roles="guest"/>

 

under the tag <security-settings>.


Manual update of standalone-full.xml does not seem to be a good solution, is there a way of doing this through CLI while we are adding user using "add-user.bat"?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community