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
  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>
  3. 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 user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 user 'boss1' because directory 'ApacheDS 1' does not allow updates.</message></error>
  6. 0

    We have JIRA connected to a read-only Crowd instance (2.6.1) and when users attempt to update the email address on their profile, a system error and stack trace is returned. If the user directory is read-only, the user shouldn't be allowed to edit the field, or at least receive an error stating it is not possible to change the email. An exception page isn't particularly helpful for them. The returned error message when submitting a new email address: {code}System Error A system error has occurred. Please try submitting this problem via the Support Request Page Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file ( /home/jira/log/atlassian-jira.log ) Cause: 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 'My User' because directory 'phpBB' does not allow updates.</message></error> Stack Trace: [hide] 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 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:329) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.updateUser(DelegatingCrowdService.java:90) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.updateUser(FilteredCrowdServiceImpl.java:51) at com.atlassian.jira.web.action.user.EditProfile.doExecute(EditProfile.java:122) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) *snip* at java.lang.Thread.run(Thread.java:662) 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 'My User' because directory 'phpBB' does not allow updates.</message></error> at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.java:458) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andCheckResponse(RestExecutor.java:384) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.updateUser(RestCrowdClient.java:154) at com.atlassian.crowd.directory.RemoteCrowdDirectory.updateUser(RemoteCrowdDirectory.java:192) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.updateUser(DbCachingRemoteDirectory.java:267) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:352) at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.updateUser(ApplicationServiceGeneric.java:433) at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:315) ... 161 more *snip*{code}

    Atlassian JIRA | 4 years ago | phpBB phpBB
    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 'My User' because directory 'phpBB' does not allow updates.</message></error>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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