Rebuild permission warning shouldn't be shown to users who can't do so

Created on 5 October 2023, 9 months ago
Updated 3 June 2024, 25 days ago

With the changes introduced in this issue: 🐛 Does not react to role changes Fixed , any role change shows a prompt to any user about rebuilding permissions.

We have a few processes on our site that mean that non-admin users can effectively change their own roles. For example, they purchase a membership, so they gain the "member" role upon payment.

These users are receiving a "rebuild permissions" prompt that they don't understand or have the ability to act upon.

I think the warning should only be shown to users who can access the URL the link points towards. If the warning isn't shown, it should be put in the logs instead. (Or better yet: always logged and, when the user can do it, also shown in a message.)

Feature request
Status

Fixed

Version

2.0

Component

User interface

Created by

🇨🇦Canada samalander

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.69.0 2024