Skip to content

User responsible for handling access requests (with ManageFilePermissions) does not get notifications for this #10656

@PaulBoon

Description

@PaulBoon

User responsible for handling access requests (with ManageFilePermissions) does not get notifications for this.

This was traced down to the sendRequestFileAccessNotification function in src/main/java/edu/harvard/iq/dataverse/FileDownloadServiceBean.java. Here Permission.ManageDatasetPermissions is being used to find users that need to get the notification, this should be Permission.ManageFilePermissions

To reproduce this you need to do an request on a restricted file for which the 'owner' has the ManageFilePermissions and not the ManageDatasetPermissions.
Note that the split-up is introduced in this PR: #8174

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions