• Resolved Alex Cicovic

    (@acicovic)


    Hello there,

    Unless I’m missing something, currently it is possible to assign SWPM dashboard access only to predefined WP user roles using specific permissions (class.swpm-settings.php, lines 706 – 709 at the time of this writing). This is fine in most cases but it doesn’t work for me because it gives access to people who shouldn’t have it.

    In my case, I have created a “Maintainer” user role who can edit pages and posts, but cannot manage anything else (no “Manage Options” permission). I have also a “Membership Manager” role who should solely have access to SWPM dashboard and nothing else (no “Edit Posts/Pages” permission).

    I cannot have this configuration as I am forced to select “Editor” for the “Admin Dashboard Access Permission” setting in Advanced Options, and then assign “Edit Posts” permission to “Membership Manager” so he can use the SWPM dashboard. But then the “Maintainer” role has also access to the SWPM dashboard. So this is breaking the permissions structure and it is a big problem in my case.

    My suggestion would be to get custom WP user roles and show them as well in the dropdown, not requiring any standard WP permission from them when they are selected. Alternatively, assign a plugin-specific permission that advanced users can take advantage of in order to give SWPM dashboard access to a custom user role. Probably the second is less complicated and could be added as a “Use Custom Permission” option in the dropdown.

    This will allow a custom role to have SWPM dashboard access without bumping into predefined WP permissions.

    I hope that what I’m saying makes sense, and thank you for this great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reaching out to us. I have submitted a message to the plugin developers to investigate further your request.

    Kind regards

    Thread Starter Alex Cicovic

    (@acicovic)

    For anyone facing the same issue, you can use this plugin along with an access control plugin like Advanced Access Manager in order to deny the ‘loose’ permissions.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, is your issue resolved using the above mentioned plugin?

    Regards

    Thread Starter Alex Cicovic

    (@acicovic)

    Yes, it is. I’m marking this as resolved. Though I think it might still be a feature to consider in order to have a built-in solution.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Give SWPM dashboard access to custom user roles’ is closed to new replies.