Skip to content

Allow users with "can manage" to receive access requests #2338

@mairasalazar

Description

@mairasalazar

Describe the bug

When a user is granted "can manage" in a record, the help implies that the user can manage access. However, access requests are not visible to users that can manage the record, only to the owners.

Steps to Reproduce

  1. Publish a record with restricted files.
  2. In share access -> People, add a user with "can manage" access. In settings, allow users to request access.
  3. Create a request to view the files in the record with a third account
  4. Record owner sees the request in their dashboard, but manager user does not.

Expected behavior

User with "can manage" access also is able to see and accept/reject access requests

Additional context

Changes probably are needed in invenio-rdm-records/invenio_rdm_records/notifications/builders.py and invenio-rdm-records/invenio_rdm_records/requests/access/requests.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions