Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2226

Unhandled exception when trying to add group and Crowd Server does not have the "Add Group" permission

      This is reproducible in JIRA and Confluence.

      In Crowd: Add an LDAP server to Crowd
      In Crowd: Allow access to JIRA application exposing the LDAP directory
      In Crowd: In the Permissions tab, uncheck the "Add Groups" permission.
      In Jira: Add Crowd Server as a user directory (put it at the top and synchronize)
      In Jira: Go to the Group Browser and try to add a group
      Expected: Either the "Add Group" to be disabled, or an error message saying that it could not add group due to lack of permissions. Depending on the design, it is also possible for the group creation to fall back to the internal directory.

      Actual: com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Application "<b>jira</b>" does not allow adding of groups.

      Note 1: Similar errors occur in Jira and Confluence for the following actions (if they are disabled in Crowd): "Add Users", "Add Groups", "Modify Users", "Modify Groups".

      Note 2: Notice that for Jira "Remove User" and "Remove Group" display error messages as expected, while Confluence these actions also throw similar errors as above.

            [CWD-2226] Unhandled exception when trying to add group and Crowd Server does not have the "Add Group" permission

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1510994 ] New: JAC Bug Workflow v3 [ 3365376 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392782 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1510994 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 277471 ] New: Simplified Crowd Development Workflow v2 [ 1392782 ]
            James Wong made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Technical Review [ 10028 ] New: Resolved [ 5 ]
            Remaining Estimate Original: 4h [ 14400 ] New: 0h [ 0 ]
            James Wong made changes -
            Worklog Id Original: 94339 [ 94339 ]
            Remaining Estimate Original: 8h [ 28800 ] New: 4h [ 14400 ]
            Time Spent New: 4h [ 14400 ]
            James Wong logged work - 03/Feb/2011 1:15 AM
            • Time Spent:
              4h
               
              <No comment>
            James Wong made changes -
            Status Original: In Progress [ 3 ] New: Technical Review [ 10028 ]
            James Wong made changes -
            Description Original:
            This reproes for Jira and Confluence.

            In Crowd: Add an LDAP server to Crowd
            In Crowd: Allow access to JIRA application exposing the LDAP directory
            In Crowd: In the Permissions tab, uncheck the "Add Groups" permission.
            In Jira: Add Crowd Server as a user directory (put it at the top and synchronize)
            In Jira: Go to the Group Browser and try to add a group
            Expected: Either the "Add Group" to be disabled, or an error message saying that it could not add group due to lack of permissions. Depending on the design, it is also possible for the group creation to fall back to the internal directory.

            Actual: com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Application "<b>jira</b>" does not allow adding of groups.

            Note 1: Similar errors occur in Jira and Confluence for the following actions (if they are disabled in Crowd): "Add Users", "Add Groups", "Modify Users", "Modify Groups".

            Note 2: Notice that for Jira "Remove User" and "Remove Group" display error messages as expected, while Confluence these actions also throw similar errors as above.
            New: This is reproducible in JIRA and Confluence.

            In Crowd: Add an LDAP server to Crowd
            In Crowd: Allow access to JIRA application exposing the LDAP directory
            In Crowd: In the Permissions tab, uncheck the "Add Groups" permission.
            In Jira: Add Crowd Server as a user directory (put it at the top and synchronize)
            In Jira: Go to the Group Browser and try to add a group
            Expected: Either the "Add Group" to be disabled, or an error message saying that it could not add group due to lack of permissions. Depending on the design, it is also possible for the group creation to fall back to the internal directory.

            Actual: com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Application "<b>jira</b>" does not allow adding of groups.

            Note 1: Similar errors occur in Jira and Confluence for the following actions (if they are disabled in Crowd): "Add Users", "Add Groups", "Modify Users", "Modify Groups".

            Note 2: Notice that for Jira "Remove User" and "Remove Group" display error messages as expected, while Confluence these actions also throw similar errors as above.
            James Wong made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Federico Silva Armas [Atlassian] created issue -

              4c7409f97ecf James Wong
              farmas Federico Silva Armas [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h Time Not Required
                  4h