Permission values

* adds raw permission values for all groups
This commit is contained in:
mipel 2021-07-02 07:34:34 +02:00
parent 75f983f7a7
commit 2757f1b9c1

View File

@ -48,3 +48,28 @@ SSO_PUBLIC_KEY = "AGGK7E8eT5X5u2GD38ygGG3GpAefmIldJiiWW7gldRPqCG1CzmUfGdvPSGDbEY
DEFAULT_LAT = 50.00 DEFAULT_LAT = 50.00
DEFAULT_LON = 7.00 DEFAULT_LON = 7.00
DEFAULT_ZOOM = 8.0 DEFAULT_ZOOM = 8.0
# PERMISSION VALUES
## Group default
ADD_INTERVENTION = "add_intervention"
EDIT_INTERVENTION = "edit_intervention"
DELETE_INTERVENTION = "delete_intervention"
ADD_COMPENSATION = "add_compensation"
EDIT_COMPENSATION = "edit_compensation"
DELETE_COMPENSATION = "delete_compensation"
ADD_ECOACCOUNT = "add_ecoaccount"
EDIT_ECOACCOUNT = "edit_ecoaccount"
DELETE_ECOACCOUNT = "delete_ecoaccount"
CREATE_SHARE_LINK = "create_share_link"
## Group ZB
VALIDITY_CHECK = "validity_check"
## Group ETS
RECORD_DATA = "record_data" # refers to 'verzeichnen'
ADD_EMA = "add_ema"
EDIT_EMA = "edit_ema"
DELETE_EMA = "delete_ema"