[jboss-dev-forums] [JBoss AS 7 Development] - Provide 'Manage' permissions to the user added to ManagementRealm using CLI
Ashish Tomar
do-not-reply at jboss.com
Tue Jun 26 10:15:10 EDT 2012
Ashish Tomar [https://community.jboss.org/people/as.tomar1988] created the discussion
"Provide 'Manage' permissions to the user added to ManagementRealm using CLI"
To view the discussion, visit: https://community.jboss.org/message/744283#744283
--------------------------------------------------------------
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
[https://community.jboss.org/message/744283#744283]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120626/e75cb0b0/attachment.html
More information about the jboss-dev-forums
mailing list