Skip Navigation

[Resolved] Custom Role when editing Users no longer sees Role drop down option

This support ticket is created 5 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by Minesh 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1214571

This was working so something has changed during a recent update.

I have a Custom Role which has; list users, edit users, create users capabilities, but they can no longer see the Role drop down option when they are logged in as my custom role and look at Users > Edit in the backend.

#1214626

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - can you please let me know you created the custom role using access plugin, you created that by copying which role capabilities?

#1214650

Yes, with the Access plugin.

It was a long time ago I set up, but I think it was the Administrator.

#1214685

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I created a new role copy from "administrator" and I see role dropdown is not displayed on edit user profile page. Please allow me to consult our devs and I will get in touch with you as soon as I know more.

#1215492

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I have more things to share here.

When I created the new custom role using "copy from administrator" - the capabilities you listed is already assigned by default to the role:

list users, edit users, create users capabilities 

I've created the custom role "custom-admin" (copy from "administrator") as well as "custom-editor" (copy from "editor") and created new user for each of these roles.

Then I logged in as a user having "custom-admin" role and I try to edit the user having role "custom-editor" and I can see the "Role" drop-down is displayed on that profile. I am not able to reproduce this issue.

Do I miss anything here?

#1215497

No, that appears to be what I would have done (albeit some time ago now so I can't remember all the steps I took).

This was working but seems to have been knocked out very recently by an update.

It's being used in the day time... tonight I will disable the Access plugin and see if Role re-appears... this will at least then definitely tie it down to the Access plugin.

#1216544

I found the issue:

In the access plugin, in Custom Roles > Change permissions > General capabilities, you now need to tick promote_users (I think this may be a new option?)

Underneath it says 'No info', can I put in a request to have this changed to 'Change role' or similar.

Thank you.

#1216863

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - when I try to create a new role "copy from administrator" I see the capability "promote_users" is already checked at:

Custom Roles > Change permissions > General capabilities

So that means you must be using the custom role that should be created "copy form" other than administrator user.

For now, as per your request, I'm adding the request to add the "promote_users" capability information.

#1216903

I was fairly certain that I copied the Administrator role - but I could be wrong.

The Role drop down was available BEFORE a recent update (it's been used for well over a year), so an update knocked this out.

As it's now resolved I'm happy to close this call though. Thank you for all your help and thank you for adding the request to add the "promote_users" capability information.

#1231370

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to inform you that "promote_users" capability information is added with the latest Access release version 2.7.