Open zzacharo opened 1 year ago
Right now, the permission checks in the access service for creating work but they are implemented pretty heavy-handedly. We should rework the checks in a way that they utilize generators and the permission policy like the all other service methods.
invenio_rdm_records.services.access.service:RecordAccessService.create_user_access_request()
invenio_rdm_records.services.access.service:RecordAccessService.create_guest_access_request()
This issue was automatically marked as stale.
Right now, the permission checks in the access service for creating work but they are implemented pretty heavy-handedly. We should rework the checks in a way that they utilize generators and the permission policy like the all other service methods.
invenio_rdm_records.services.access.service:RecordAccessService.create_user_access_request()
invenio_rdm_records.services.access.service:RecordAccessService.create_guest_access_request()
invenio_rdm_records.services.access.service:RecordAccessService.create_user_access_request()