Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Problem Definition
For users managed in external directories (e.g. Ldap, Crowd, JIRA), FishEye shows a "Change Password", a "Rename" and a "Delete" button.
Deleting users
Since it is not possible to remove users managed in external directories, the following message is presented to the users in the FishEye user interface:
Error deleting user. Not allowed to delete user '<user_name>' from directory '<directory name>'. Please check the system logs for details.
The following can be found in the atlassian-fisheye-YYYY-MM-DD.log file:
2016-06-16 15:36:25,257 WARN [qtp1680503330-2061 ] fisheye BaseAdminAction-addActionErrorAndLogWarning - Error deleting user. com.atlassian.crucible.spi.services.NotPermittedException: Error removing user from directory at com.cenqua.fisheye.user.DefaultUserManager.deleteUser(DefaultUserManager.java:1263) [fisheye.jar:?] at com.cenqua.fisheye.user.DefaultUserManager.deleteUserAndRemoveCommitterMappings(DefaultUserManager.java:1238) [fisheye.jar:?] ... Caused by: com.atlassian.crowd.exception.OperationNotPermittedException: com.atlassian.crowd.exception.ApplicationPermissionException: Not allowed to delete user '<user_name>' from directory '<directory name>'. at com.atlassian.crowd.embedded.core.CrowdServiceImpl.removeUser(CrowdServiceImpl.java:506) [embedded-crowd-core-2.8.5-m1.jar:?] ... Caused by: com.atlassian.crowd.exception.ApplicationPermissionException: Not allowed to delete user '<user_name>' from directory '<directory name>'. at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.removeUser(ApplicationServiceGeneric.java:817) [crowd-core-2.8.5-m1.jar:?]
Changing passwords
The following appears when changing passwords:
The user could not be updated. Not allowed to update user '<user_name>' in directory '<directory name>'. Please check the system logs for details.
Renaming users
The following appears when renaming users:
The user could not be updated. Cannot rename user '<user_name>' because directory '<directory name>' does not allow updates. Please check the system logs for details.
Suggested Solution
Remove the option to "Change Password", "Rename" and "Delete" a user from an external directory.