From 5beb6a822ff105879220a1435dde9f4f2a1002cc Mon Sep 17 00:00:00 2001 From: Ties Dirksen <78494266+T8902@users.noreply.github.com> Date: Thu, 11 Jan 2024 21:52:10 +0100 Subject: [PATCH] Allow making promo requests using event permissions (#3558) * Add event committee can make promo request. * Update member.py --------- Co-authored-by: Dirk Doesburg --- website/events/admin/inlines.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/website/events/admin/inlines.py b/website/events/admin/inlines.py index 2d3f80210..b47b3a473 100644 --- a/website/events/admin/inlines.py +++ b/website/events/admin/inlines.py @@ -39,5 +39,19 @@ class PromotionRequestInline(admin.StackedInline): "assigned_to", "status", "drive_folder", + "status_updated", ) + + def has_add_permission(self, request, obj=None): + return True + + def has_view_permission(self, request, obj=None): + return True + + def has_change_permission(self, request, obj=None): + return True + + def has_delete_permission(self, request, obj=None): + return True + extra = 0