-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
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
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1510994 ] | New: JAC Bug Workflow v3 [ 3365376 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1392782 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1510994 ] |
Workflow | Original: Crowd Development Workflow v2 [ 277471 ] | New: Simplified Crowd Development Workflow v2 [ 1392782 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Technical Review [ 10028 ] | New: Resolved [ 5 ] |
Remaining Estimate | Original: 4h [ 14400 ] | New: 0h [ 0 ] |
Worklog Id | Original: 94339 [ 94339 ] | |
Remaining Estimate | Original: 8h [ 28800 ] | New: 4h [ 14400 ] |
Time Spent | New: 4h [ 14400 ] |
Status | Original: In Progress [ 3 ] | New: Technical Review [ 10028 ] |
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. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |