Skip to content

Editing of roles unsets permissions #474

Closed
@processwired

Description

@processwired

Short description of the issue

For templates the guest user has no view permission, permissions for these templates get unset for another role if this role is being edited and saved. I had a lot of templates which had no view access for guest (intranet) and killed unintentionally all my view permissions for the other roles :(

Expected behavior

Permissions should stick, should not get overwritten.

Steps to reproduce the issue

  1. Create a new template
  2. Create a new role, for example with name "testrole".
  3. Disable guest view access for template in template's settings. Enable view access for testrole.
  4. Head over to masthead -> Permissions -> User roles -> testrole
  5. See that page-view is disabled for testrole. If you enable the permission again and save, it doesn't stick.

Setup/Environment

  • ProcessWire version: 3.0.88

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions