Skip Navigation

[Resolved] Editors have super admin privileges

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 8 replies, has 3 voices.

Last updated by paulC-5 5 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#1211896

Link to a page where the issue can be seen:
This is a development site, please see screenshot where an editor has super admin privileges at the top of the page:
hidden link

My own account (an administrator one) does not have this message.

I have found this post:
https://toolset.com/forums/topic/toolset-access-shows-editor-role-as-super-admin-prevents-dashboard-access/

So I deacivated all plugins, and no longer saw the warning. Then I activated them 1 by 1. After activating Toolset Access the 'super admin privileges' message returned for editors. I double checked this (deactivating & activating again). I also deactivated, deleted the plugin, downloaded and activated. This message returned.

I also checked with using Twenty Nineteen theme instead of my bespoke one. But it made no difference. Please help as this message seems to be caused by Access. BTW this is not a multisite install.

Thanks
Paul

#1211911

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Paul

I can't see the same on my own site when editing the profile of an editor user.

Can you verify if you see the message when only Access is activated?

Have you changed the settings within Access for the editor role?

I see you have a plugin "Import users from CSV with meta". Was the user in question imported with this plugin?

If you create a new editor user directly in the WP admin, does their profile page show the message?

#1211916

>Can you verify if you see the message when only Access is activated?

Yes, deactivating Access removes the message. It returns when I activate it.

>Have you changed the settings within Access for the editor role?

Yes, see grab. They have all levels apart from level_10:
hidden link

>I see you have a plugin "Import users from CSV with meta". Was the user in question imported with this plugin?
No.

>If you create a new editor user directly in the WP admin, does their profile page show the message?
Yes, tested a few times.

#1211938

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Paul

I'm able to see the message if I grant every single permission available to an editor except level10.

Let me see if I can determine which permission it is that triggers that message.

#1211962

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I determined that the message comes from WordPress (line 190 of user-edit.php), but the test for displaying the message should fail:

is_super_admin( $profileuser->ID ) && current_user_can( 'manage_network_options' )

It doesn't though, so I've passed this to my colleagues in second tier to investigate further.

I'll keep you posted.

#1211965

>I'll keep you posted.

Much appreciated Nigel. Glad to know you can replicate issue. Very odd.

#1214558

Hi Nigel, curious to know if you've had a response from second tier?

#1214618

Hi Paul,

Nigel will be away for the next few days, so I'll be happy to follow up.

Thanks to your report, a fix for this has been planned in the next major release of Toolset Access (2.7).

We don't have a time estimate at this point, but we'll keep you updated through this ticket.

Appreciate you brought this forward and thank you for your patience.

regards,
Waqar

#1214629

Ah cool. Obviously not causing me problems and nice to know it's on the bug list.