-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
-
9
-
The ConfluenceGroupJoiningAuthenticator calls getGroupManager().hasMembership which in turn calls hasExternalMembership(). This causes loading of users of that group, which can be extremely slow if the group has thousands of users.
If you're writing a custom authenticator, the workaround here is to use something like this instead:
boolean permission = permissionManager.hasPermission(getUserAccessor().getUser(username),Permission.VIEW, PermissionManager.TARGET_APPLICATION);
Check the source attached here.
- causes
-
CONFSERVER-17366 ConfluenceGroupJoiningAuthenticator does not add users to confluence-users group, if they already have "Can Use" permission via another group
- Closed
- is related to
-
CONFSERVER-16737 Integrate 'automatically add users to confluence-users' as an option from the UI
- Closed
- relates to
-
CONFSERVER-12319 Adding users to a large group is slow with default (Hibernate) user management
- Closed