From 06e71988cd194839c0b15a637795480d805d3f2d Mon Sep 17 00:00:00 2001 From: Bohdan Odintsov Date: Mon, 6 Jan 2025 17:56:44 +0200 Subject: [PATCH] Make the requested permissions show up as defaults --- website/profile/utils.py | 1 + website/templates/project/contributors.mako | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/profile/utils.py b/website/profile/utils.py index 3ccff69a164..e24ca9b1ed9 100644 --- a/website/profile/utils.py +++ b/website/profile/utils.py @@ -196,6 +196,7 @@ def serialize_access_requests(node): { 'user': serialize_user(access_request.creator), 'comment': access_request.comment, + 'requested_permissions': access_request.requested_permissions, 'id': access_request._id } for access_request in node.requests.filter( request_type=workflows.RequestTypes.ACCESS.value, diff --git a/website/templates/project/contributors.mako b/website/templates/project/contributors.mako index 65954d3aced..c194884d7c8 100644 --- a/website/templates/project/contributors.mako +++ b/website/templates/project/contributors.mako @@ -356,7 +356,7 @@