Saving permissions applies to all domains

Created on 23 November 2020, almost 4 years ago
Updated 6 March 2024, 9 months ago

Problem/Motivation

When editing the permissions on a role such as at /admin/people/permissions the header title's reflect the domain specific role title.

In the image AUS is a specific domain while other domains can be another region eg. UK.

However, on save of the form the permission change applies to all domains. Eg. Adding 'Article: Create new content on assigned domains' permission to 'ABC AUS ABC_EDITORIAL_MARKETING' role and saving will also add the permission to the 'ABC UK ABC_EDITORIAL_MARKETING' role.

This does make sense and in my case is actually what we would prefer happens however it isn't very clear and was unexpected.

Steps to reproduce

  1. Set a role to apply per domain
  2. Navigate to /admin/people/permissions on x domain and edit permissions on that role
  3. Navigate to /admin/people/permissions on y domain and observe the permissions on that role have also changed despite having a different title

Proposed resolution

  • Document or add a note on /admin/people/permissions to indicate a change to a domain role will apply to all domains
  • Ensure the title used in /admin/people/permissions is the 'Global' version of the role title
📌 Task
Status

Active

Component

Documentation

Created by

🇬🇧United Kingdom alexj12

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.

Production build 0.71.5 2024