Skip to content

Commit

Permalink
ui: propagate permission check for community requests view
Browse files Browse the repository at this point in the history
  • Loading branch information
anikachurilova authored and jrcastro2 committed Aug 27, 2024
1 parent cd4cd6d commit ef939cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_app_rdm/requests_ui/views/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def community_dashboard_request_view(request, community, community_ui, **kwargs)
request_is_accepted = request["status"] == AcceptAction.status_to

permissions = community.has_permissions_to(
["update", "read", "search_requests", "search_invites"]
["update", "read", "search_requests", "search_invites", "submit_record"]
)

if is_draft_submission or is_record_inclusion:
Expand Down

0 comments on commit ef939cb

Please sign in to comment.