Permission values

* adds raw permission values for all groups
This commit is contained in:
mipel 2021-07-02 07:34:34 +02:00
parent 972cbf5433
commit 1ebf67b66b

View File

@ -48,3 +48,28 @@ SSO_PUBLIC_KEY = "CHANGE_ME"
DEFAULT_LAT = 50.00
DEFAULT_LON = 7.00
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"