Confluence-administrator group is missing the system administrator permission

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

    

Summary

If the group confluence-administrator is removed from Confluence using direct database manipulation and then added again to the global permissions, it might not have all the administrative permissions such as the system administrator permission on the Global permissions UI. 

The checkboxes will be unchecked and you are unable to check them. This message shows the group information:

The confluence-administrators group is a special group which has all permissions. You can't change the permissions for this group.


Diagnosis

Cannot modify the group confluence-administrators permissions from the UI. All the confluence-administrator permission checkboxes on the global permission page are grayed out.

Cause

There are missing permissions for the Confluence-administrators group on the database table spacepermissions.

Solution

We must add the permissions manually using the SQL commands below. 

Before proceeding

Always backup your database before any data manipulation for safety reasons.


1) First, grab the user hash from the admin user (or another user name).

select user_key from user_mapping where lower_username = 'admin';

2) With the user hash, run the following insert command to add the system permission to the group. Change the <user_hash> and timestamp accordingly.

insert into spacepermissions 
values 
(999999,
null,
'SYSTEMADMINISTRATOR',
'confluence-administrators',
null,
null,
'<user_hash>',
'2020-06-23 10:16:24.488',
'<user_hash>',
'2020-06-23 10:16:24.488');

3) Restart Confluence and the group should have the system permission now.

Last modified on Jul 9, 2020

Was this helpful?

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