Add permissions to administer PRLP

Created on 8 April 2020, about 4 years ago
Updated 31 January 2024, 5 months ago

As described at https://www.drupal.org/project/prlp/issues/2572237 β†’ (that one is for D7), there are some cases when certain user roles are allowed to access/manage some site administration sections. But that's not the case for some "more sensitive" places, like this one.

Said that, I think it's better to have separated permissions. That way we can to decide if mentioned roles are able to access settings or not.

Patch in the way...

✨ Feature request
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia waspper

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France flocondetoile Lyon

    Making this change will break existing installations. Can you please include a migration that assigns this new permission to all existing users that have the "administer users" permission?

    Not sure patch #2 will break anything. Anyway, site administrators still get access to PRLP settings.

    And in my case, this patch is useful because I don't want users with the permission "administer users" to be able to manage PRLP Settings. And in my case, when i give the permission "adminsiter users" I didn't want to give them the permision to manage PRLP settings. So In my mind patch #2 should be committed, not #5 which ensure that an unwanted situation is still present.

    Otherwise RTBC++ (#2 or #5)

Production build 0.69.0 2024