From 5a1d4251f4b7041ac97442ab24957d22200c83a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 14 Nov 2022 19:59:18 +0100 Subject: [PATCH] Regrouped permissions Datastructures and the part permission are now together in the "data" permission group. --- config/permissions.yaml | 14 ++++++++------ translations/messages.en.xlf | 8 +++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/config/permissions.yaml b/config/permissions.yaml index cc4232eb..27cb5a06 100644 --- a/config/permissions.yaml +++ b/config/permissions.yaml @@ -2,10 +2,12 @@ # This should be compatible with the legacy Part-DB groups: - parts: - label: "perm.group.parts" - structures: - label: "perm.group.structures" + #parts: + # label: "perm.group.parts" + #structures: + # label: "perm.group.structures" + data: + label: "perm.group.data" system: label: "perm.group.system" @@ -15,7 +17,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co # Part related permissions parts: # e.g. this maps to perms_parts in User/Group database - group: "parts" + group: "data" label: "perm.parts" operations: # Here are all possible operations are listed => the op name is mapped to bit value read: @@ -44,7 +46,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co storelocations: &PART_CONTAINING label: "perm.storelocations" - group: "structures" + group: "data" operations: read: label: "perm.read" diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 3687258d..a3eba135 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -7779,7 +7779,7 @@ Element 3 perm.parts - Common + Parts @@ -9881,5 +9881,11 @@ Element 3 Permission preset applied successfully. Check if the new permissions fit your needs. + + + perm.group.data + Data + +