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

Delete Group Permissions( for the groups deleted from external user directory) from Global/Space Permission pages

XMLWordPrintable

    • 7
    • 6
    • 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.

      Issue Summary

      When a group is deleted in the external directory, the syncing process deletes the user group itself from groups in Confluence. However, if there are any assigned permissions for this group, the definition remains in the Global Permission and Space Permission page.

      Steps to Reproduce

      1. Integrate with OpenLDAP/Microsoft Active Directory
      2. Create a test group in the external user directory
      3. Sync the user directory and check the test group is created in Confluence 
      4. Assign some permissions in the Global/Space Permission page
      5. Delete the test group
      6.  Check the Global/Space Permission page

      Expected Results

      The permissions are deleted for the test group

      Actual Results

      The permissions remain for the test group with Group not found mark.

      Workaround

      1. Delete these records in Web UI
      2. Delete from database
        1. On the database, run the following query to get the records for deleted group:
          SELECTFROM spacepermissions 
          WHERE permgroupname not in (Select group_name from cwd_group); 
        2. and delete these records after verification:
          DELETE
          FROM spacepermissions 
          WHERE permgroupname not in (Select group_name from cwd_group); 
          

              Unassigned Unassigned
              2f0471d2a1a4 Suat Kandiş (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: