Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24312

Notify admins they cannot edit the directory they're logged in through

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The UI for the User Directories configuration in Confluence's admin has an operations column.

      When you are logged in using a user registered for a directory, this user don't have the privilege to modified the directory it belong to. As stated here:

      You cannot edit, disable or remove the directory your user belongs to. This precaution is designed to prevent administrators from locking themselves out of the application by changing the directory configuration in a way that prevents them logging in or removes their administration permissions.

      However, there is nothing in the UI that indicates why a directory cannot be edited.

      Possible Resolution

      I suggest we keep the "Edit" button but grayed it out. When a user hover over the grayed out button add a simple message like "you are logged in via this directory, hence it is not possible to modify it" in the operations column when that is the reason the directory cannot be edited.

            [CONFSERVER-24312] Notify admins they cannot edit the directory they're logged in through

            BillA added a comment -

            Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now.

            Thanks again for your idea.

            Bill Arconati,
            Group Product Manager

            BillA added a comment - Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea. Bill Arconati, Group Product Manager

            JIRA does something along the lines of what you're asking and the same could be done here as well. It doesn't give you the grayed out Edit option, but when you try to update the existing User Directory it will stop you because you already exist in it. However, the error message it gives you is a bit ambiguous. You have to assume that you have to add yourself to another User Directory by performing a synchronization to it, then move the original User Directory you tried to modify in the first place down in priority to get the Edit ability. The only thing I ever found in the documentation was a statement that you could modify your settings within the User Directory configuration page (which at this point wouldn't exist for me).

            Will Wells added a comment - JIRA does something along the lines of what you're asking and the same could be done here as well. It doesn't give you the grayed out Edit option, but when you try to update the existing User Directory it will stop you because you already exist in it. However, the error message it gives you is a bit ambiguous. You have to assume that you have to add yourself to another User Directory by performing a synchronization to it, then move the original User Directory you tried to modify in the first place down in priority to get the Edit ability. The only thing I ever found in the documentation was a statement that you could modify your settings within the User Directory configuration page (which at this point wouldn't exist for me).

            Daz added a comment -

            I've attached an example of where you could add the message and get value.

            Daz added a comment - I've attached an example of where you could add the message and get value.

              Unassigned Unassigned
              cdarroch Daz
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: