com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error>

Atlassian JIRA | Federico Silva Armas [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Note: this issue may be related to [http://jira.atlassian.com/browse/CONFDEV-2776] but I open a separate issue since the stack is different. - In Jira: Add an LDAP directory and set it as Read-Only - In Jira: Add Confluence as an application. - In Confluence: Add Jira as a crowd server to the list of user directories, set is as Read/Write - In Confluence: Try to add a User *Expected*: Error message to propagate to UI *Actual*: Unhandled exception {code} com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:343) caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:414) {code} - In Confluence: Try add a user from LDAP to a group. *Expected*: Error message to propagate to UI *Actual*: {code} com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUserToGroup(CrowdServiceImpl.java:708) caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:414) {code}

    Atlassian JIRA | 6 years ago | Federico Silva Armas [Atlassian]
    com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error>
  2. 0

    Note: this issue may be related to [http://jira.atlassian.com/browse/CONFDEV-2776] but I open a separate issue since the stack is different. - In Jira: Add an LDAP directory and set it as Read-Only - In Jira: Add Confluence as an application. - In Confluence: Add Jira as a crowd server to the list of user directories, set is as Read/Write - In Confluence: Try to add a User *Expected*: Error message to propagate to UI *Actual*: Unhandled exception {code} com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:343) caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:414) {code} - In Confluence: Try add a user from LDAP to a group. *Expected*: Error message to propagate to UI *Actual*: {code} com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUserToGroup(CrowdServiceImpl.java:708) caused by: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:414) {code}

    Atlassian JIRA | 6 years ago | Federico Silva Armas [Atlassian]
    com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error>

    Root Cause Analysis

    1. com.atlassian.crowd.exception.runtime.OperationFailedException

      com.atlassian.crowd.exception.ApplicationPermissionException: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><reason>APPLICATION_PERMISSION_DENIED</reason><message>Cannot update group 'jira-developers' because directory 'ApacheDS 1' does not allow updates.</message></error>

      at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUserToGroup()
    2. com.atlassian.crowd
      CrowdServiceImpl.addUserToGroup
      1. com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUserToGroup(CrowdServiceImpl.java:708)
      1 frame