Skip Navigation

[Resolved] Does Access look only at the primary role for the account?

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user has a multirole for his customers and wanted to know if Access only looks at the primary role when setting permissions.

Solution:

Yes our access plugin only looks at the primary role of the user when applying its permissions.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by coc-admin 6 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#956507
Role as Other - URE Settings.png
Role as Primary - URE Settings.png

I am trying to: Limit pages to the correct roles

Link to a page where the issue can be seen:

I expected to see: Page allowed if role is set; disallowed if not.

Instead, I got: The expected behavior if the role was the primary for the account. If the role was set as one of the "other roles" on the account, the content was denied. Message was "You do not have permission to view this page.".

Is it expected that Access looks only at the primary role?

I'm using plugin User Role Editor. I'm attaching the settings that work (Role "Container Data Entry" as "Primary") and those that don't ("Other").

#956599

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kenn,

Thank you for contacting our support forum.

Could you let me know how this secondary role was added? But yes Access will look at the primary role.

Thanks,
Shane

#956633

This is a new app under development, and our first using Toolset. We have used additional roles in previous apps.

FYI...This is in an employee intranet multisite network. Most options are open to all employees. But when we write an app as a sub-site for some specific business function, we give it its own role and limit the use to only the appropriate employees. It hasn't happened yet, but we anticipate a future where some employees have roles in multiple sub-sites/apps.

It looks like we can handle that, as long as no one needs multiple access within a single app. We'll try to avoid that situation.

Thanks.