diff --git a/konova/settings.py b/konova/settings.py index 008696ba..aca0815c 100644 --- a/konova/settings.py +++ b/konova/settings.py @@ -48,3 +48,28 @@ SSO_PUBLIC_KEY = "AGGK7E8eT5X5u2GD38ygGG3GpAefmIldJiiWW7gldRPqCG1CzmUfGdvPSGDbEY 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"