Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12003

Regression: disabling/enabling user through add-user script removes all disabled users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.ER3
    • 7.1.0.ER1
    • Scripts, Security
    • None
    • Regression
    • Hide

      1) add some enabled and disabled users to standalone/configuration/mgmt-users.properties:

      #admin=2a0923285184943425d1f53ddd58ec7a
      user=whateverPassword
      user2=whateverPassword
      #anotherUser=whateverPassword
      

      2) run add-user script and try to disable user user - user is disabled but admin and anotherUser are removed from standalone/configuration/mgmt-users.properties

      Show
      1) add some enabled and disabled users to standalone/configuration/mgmt-users.properties : #admin=2a0923285184943425d1f53ddd58ec7a user=whateverPassword user2=whateverPassword #anotherUser=whateverPassword 2) run add-user script and try to disable user user - user is disabled but admin and anotherUser are removed from standalone/configuration/mgmt-users.properties

      add-user script provides ability to enable/disable existing user. It uses commented lines with users as disabled user, e.g.:

      #admin=2a0923285184943425d1f53ddd58ec7a
      

      In case when any user is enabled/disabled through add-user script then all other disabled users are removed from given properties file.

      It is regression against EAP 7.0.0.GA where disabling user does not cause removing another disabled users. For that reason we request blocker flag.

            fjuma1@redhat.com Farah Juma
            olukas Ondrej Lukas (Inactive)
            Marek Kopecky Marek Kopecky
            Marek Kopecky Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: