Unable to Add User Due to 'Cannot write to read-only GroupManager'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When adding a user, or perhaps adding a user to a group, the following error is thrown:

Cause

java.lang.UnsupportedOperationException: Cannot write to read-only GroupManager [ldapRepository]
    at com.atlassian.user.impl.ReadOnlyGroupManager.addMembership(ReadOnlyGroupManager.java:35)
Stack Trace:[hide]

java.lang.UnsupportedOperationException: Cannot write to read-only GroupManager [ldapRepository]
	at com.atlassian.user.impl.ReadOnlyGroupManager.addMembership(ReadOnlyGroupManager.java:35)
	at com.atlassian.user.impl.cache.CachingGroupManager.addMembership(CachingGroupManager.java:156)
	at com.atlassian.user.impl.delegation.DelegatingGroupManager.addMembership(DelegatingGroupManager.java:231)

Cause

There is a group with a duplicate name in the LDAP repository, usually confluence-users or confluence-administrators.

Resolution

Make sure these group names, reserved for internal use, are not in your LDAP repository.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.