Skip to content

Restoration of old admin UI behavior: Changes to the ACL template should not remove user roles. #1364

@snoesberger

Description

@snoesberger

Actually, when I change the ACL template of an existing series, all the user ACLs are removed and only the editor's user ACL is added. This is not the same behavior as in the old admin UI. There, a template change only affected non-user roles; user roles remained unchanged.

In our case, we use the templates to regulate the access authorizations for Tobira. We use templates that contain roles which grant permissions based on users' organizational affiliations. For example, this means that we can only allow members of our institution to access certain series/events in Tobira.
Directly authorized users are owners of the corresponding series/events for us. Accordingly, we only want group authorizations to change when the template changes, not the owners. We have series with over 100 directly authorized users. If someone wants to change the template, for example, to make the series publicly available on Tobira instead of only to members of our institution, the 100+ users would lose their write access to the series.

This problem was found during the tests of PR #1360

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions