Skip to content

Profiles Editors lack moderation state access #5564

@tadean

Description

@tadean

Problem/Motivation

It appears that the az_profile_editor role lacks permission to use moderation states.

Describe the bug

This can cause an issue if the user's associated person node has pending moderation status. The user lacks permission to edit their person node because they lack permission to use moderation states.

To Reproduce

  • Create a person node, Set the person's netid to your own. Ensure that the author of the node is NOT the account with your netid, ie. verify that the person has your netid in the netid field, but you are not the author.
  • Enable content moderation for person nodes
  • Give the person node a pending draft status so that the most recent revision is a draft
  • Provision a CAS account for yourself; give the account the profile editor role
  • Login via CAS and view the node
  • Verify that you lack permission to edit the node even though it is set to your netid.

Proposed resolution

Grant profile editors permission to interact with content moderation workflows.

Expected behavior

Profile editors should be able to interact with content moderation on their profiles.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingeditor experienceImprovements to the editor experience for individuals editing Quickstart websitespatch releaseIssues to be included in the next patch release

Type

Projects

Status

In progress

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions