Regrouped permissions

Datastructures and the part permission are now together in the "data" permission group.
This commit is contained in:
Jan Böhmer 2022-11-14 19:59:18 +01:00
parent cd60a81576
commit 5a1d4251f4
2 changed files with 15 additions and 7 deletions

View file

@ -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"

View file

@ -7779,7 +7779,7 @@ Element 3</target>
</notes>
<segment>
<source>perm.parts</source>
<target>Common</target>
<target>Parts</target>
</segment>
</unit>
<unit id="eeUmOBN" name="perm.read">
@ -9881,5 +9881,11 @@ Element 3</target>
<target>Permission preset applied successfully. Check if the new permissions fit your needs.</target>
</segment>
</unit>
<unit id="cP8VNKS" name="perm.group.data">
<segment>
<source>perm.group.data</source>
<target>Data</target>
</segment>
</unit>
</file>
</xliff>