From c588d6eb6d8e93c59e1e10e23b3c449db1395de0 Mon Sep 17 00:00:00 2001 From: Kamal Curi Date: Fri, 19 Aug 2022 23:33:04 -0300 Subject: [PATCH] Added instructions on exectution --- settings/config.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/settings/config.py b/settings/config.py index cccfb29..a6b3dc7 100644 --- a/settings/config.py +++ b/settings/config.py @@ -69,9 +69,15 @@ LOGGING_CONFIG = { }, } + +## INSTRUCTIONS ON SETTING UP PERMISSIONS: +# Permissions are now granular, more than one distinct role +# can execute the commands, whatever roles are inside the +# comma-separated lists can execute their respective commands +# Commands with empty lists will grant execution privileges to everyone PERMISSIONS = { - 'dq' : ['O emissário', 'BotMan'], - 'v' : ['Operador'] + 'dq' : ['BotMan'], + 'v' : ['Operador', 'BotMan'] } logger.dictConfig(LOGGING_CONFIG)