From 2acb450b64dae248e1cb81b3be277c261bb4e7f7 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Thu, 7 Aug 2025 10:03:55 +0700 Subject: [PATCH] Add allowed invitation on globalvar.py --- config/globalvar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/globalvar.py b/config/globalvar.py index c926719..6434158 100644 --- a/config/globalvar.py +++ b/config/globalvar.py @@ -50,3 +50,7 @@ def invitation_url(token): url = f"{baseurl}/accept?token={token}" return url +allowed_invitation = [ + { roles: 1, allowed: [1,2] }, + { roles: 2, allowed: [2] }, +]