0 Replies Latest reply on Jun 27, 2012 5:39 AM by Ashish Tomar

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

    Ashish Tomar Newbie

      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"?