2019-03-18 19:05:41 +01:00
|
|
|
# In this file the possible permissions are defined.
|
|
|
|
# This should be compatible with the legacy Part-DB
|
|
|
|
|
2019-09-10 17:12:56 +02:00
|
|
|
groups:
|
|
|
|
parts:
|
|
|
|
label: "perm.group.parts"
|
|
|
|
structures:
|
|
|
|
label: "perm.group.structures"
|
|
|
|
system:
|
|
|
|
label: "perm.group.system"
|
|
|
|
|
|
|
|
|
2019-03-18 19:05:41 +01:00
|
|
|
perms: # Here comes a list with all Permission names (they have a perm_[name] coloumn in DB)
|
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
# Part related permissions
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-03-18 19:05:41 +01:00
|
|
|
parts: # e.g. this maps to perms_parts in User/Group database
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "parts"
|
|
|
|
label: "perm.parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
operations: # Here are all possible operations are listed => the op name is mapped to bit value
|
|
|
|
read:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.read"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 0
|
|
|
|
edit:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.edit"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 2
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-18 19:05:41 +01:00
|
|
|
create:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.create"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 4
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-09-13 17:13:58 +02:00
|
|
|
#move:
|
|
|
|
# label: "perm.part.move"
|
|
|
|
# bit: 6
|
|
|
|
# alsoSet: 'read'
|
2019-03-18 19:05:41 +01:00
|
|
|
delete:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.delete"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 8
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-03-18 19:05:41 +01:00
|
|
|
search:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.search"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 10
|
|
|
|
all_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.all_parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 12
|
|
|
|
no_price_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.no_price_parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 14
|
|
|
|
obsolete_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.obsolete_parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 16
|
|
|
|
unknown_instock_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.unknown_instock_parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 18
|
|
|
|
change_favorite:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.change_favorite"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 20
|
|
|
|
show_favorite_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.show_favorite"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 24
|
|
|
|
show_last_edit_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.show_last_edit_parts"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 26
|
|
|
|
show_users:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.show_users"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 28
|
|
|
|
show_history:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.show_history"
|
2019-03-18 19:05:41 +01:00
|
|
|
bit: 30
|
2020-03-07 20:49:52 +01:00
|
|
|
revert_element:
|
|
|
|
label: "perm.revert_elements"
|
|
|
|
bit: 32
|
|
|
|
alsoSet: ["read", "edit", "create", "delete", "show_history"]
|
2019-03-18 19:05:41 +01:00
|
|
|
|
2019-09-10 18:35:24 +02:00
|
|
|
parts_name: &PART_ATTRIBUTE # We define a template here, that we can use for all part attributes.
|
|
|
|
label: "perm.part.name"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "parts"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.read"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit:
|
2019-09-10 17:12:56 +02:00
|
|
|
label: "perm.edit"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
parts_category:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
2019-09-13 17:13:58 +02:00
|
|
|
label: "perm.part.category"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
parts_description:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
2019-09-13 17:13:58 +02:00
|
|
|
label: "perm.part.description"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
parts_minamount:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
2019-09-13 19:04:48 +02:00
|
|
|
label: "perm.part.minamount"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
parts_footprint:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
2019-09-13 19:04:48 +02:00
|
|
|
label: "perm.part.footprint"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
parts_comment:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.comment"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
parts_manufacturer:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.manufacturer"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
parts_mpn:
|
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.mpn"
|
|
|
|
|
|
|
|
parts_status:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
2019-09-13 17:13:58 +02:00
|
|
|
label: "perm.part.status"
|
|
|
|
|
|
|
|
parts_tags:
|
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.tags"
|
|
|
|
|
|
|
|
parts_unit:
|
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.unit"
|
|
|
|
|
|
|
|
parts_mass:
|
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.mass"
|
|
|
|
|
|
|
|
parts_orderdetails: &PART_MULTI_ATTRIBUTE
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.orderdetails"
|
2019-09-13 17:13:58 +02:00
|
|
|
group: "parts"
|
|
|
|
operations:
|
|
|
|
read:
|
|
|
|
label: "perm.read"
|
|
|
|
bit: 0
|
|
|
|
edit:
|
|
|
|
label: "perm.edit"
|
|
|
|
bit: 2
|
|
|
|
alsoSet: 'read'
|
|
|
|
create:
|
|
|
|
label: "perm.create"
|
|
|
|
bit: 4
|
|
|
|
alsoSet: ['read', 'edit']
|
|
|
|
delete:
|
|
|
|
label: "perm.delete"
|
|
|
|
bit: 6
|
|
|
|
alsoSet: ['read']
|
|
|
|
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
parts_prices:
|
2019-09-13 17:13:58 +02:00
|
|
|
<<: *PART_MULTI_ATTRIBUTE
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.prices"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2020-03-26 13:09:25 +01:00
|
|
|
parts_parameters:
|
|
|
|
<<: *PART_MULTI_ATTRIBUTE
|
|
|
|
label: "perm.part.parameters"
|
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
parts_lots:
|
|
|
|
<<: *PART_MULTI_ATTRIBUTE
|
|
|
|
label: "perm.part.lots"
|
|
|
|
|
2019-03-19 17:48:51 +01:00
|
|
|
parts_attachments:
|
2020-03-07 20:49:52 +01:00
|
|
|
group: "structures"
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.part.attachments"
|
2020-03-07 20:49:52 +01:00
|
|
|
operations:
|
|
|
|
read:
|
|
|
|
label: "perm.read"
|
|
|
|
bit: 0
|
|
|
|
edit:
|
|
|
|
label: "perm.edit"
|
|
|
|
bit: 2
|
|
|
|
alsoSet: 'read'
|
|
|
|
create:
|
|
|
|
label: "perm.create"
|
|
|
|
bit: 4
|
|
|
|
alsoSet: ['read', 'edit']
|
|
|
|
delete:
|
|
|
|
label: "perm.delete"
|
|
|
|
bit: 6
|
|
|
|
alsoSet: ['read']
|
|
|
|
show_history:
|
|
|
|
label: "perm.show_history"
|
|
|
|
bit: 8
|
|
|
|
revert_element:
|
|
|
|
label: "perm.revert_elements"
|
|
|
|
bit: 10
|
|
|
|
alsoSet: ["read", "edit", "create", "delete", "show_history"]
|
2020-03-30 16:56:58 +02:00
|
|
|
show_private:
|
|
|
|
label: "perm.attachment_show_private"
|
|
|
|
bit: 12
|
|
|
|
alsoSet: ["read"]
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
parts_order:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_ATTRIBUTE
|
|
|
|
label: "perm.part.order"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
storelocations: &PART_CONTAINING
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.storelocations"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "structures"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.read"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.edit"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
create:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.create"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-03-19 17:48:51 +01:00
|
|
|
move:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.move"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
delete:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.delete"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 8
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-03-19 17:48:51 +01:00
|
|
|
list_parts:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.list_parts"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 10
|
|
|
|
show_users:
|
2019-09-13 17:13:58 +02:00
|
|
|
label: "perm.show_users"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 12
|
2020-03-07 20:49:52 +01:00
|
|
|
show_history:
|
|
|
|
label: "perm.show_history"
|
|
|
|
bit: 14
|
|
|
|
revert_element:
|
|
|
|
label: "perm.revert_elements"
|
|
|
|
bit: 16
|
|
|
|
alsoSet: ["read", "edit", "create", "delete", "show_history"]
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
footprints:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.footprints"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
categories:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.categories"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
suppliers:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.supplier"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
manufacturers:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.manufacturers"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
devices:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.devices"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
attachment_types:
|
2019-09-10 18:35:24 +02:00
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.part.attachment_types"
|
2019-03-19 17:48:51 +01:00
|
|
|
|
2019-09-13 17:13:58 +02:00
|
|
|
currencies:
|
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.currencies"
|
|
|
|
|
|
|
|
measurement_units:
|
|
|
|
<<: *PART_CONTAINING
|
|
|
|
label: "perm.measurement_units"
|
|
|
|
|
2019-03-19 17:48:51 +01:00
|
|
|
tools:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.part.tools"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
import:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.import"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
labels:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.labels"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
calculator:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.calculator"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
|
|
|
footprints:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.footprints"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
ic_logos:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.ic_logos"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 8
|
|
|
|
statistics:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.tools.statistics"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 10
|
2020-03-07 20:49:52 +01:00
|
|
|
lastActivity:
|
|
|
|
label: "perm.tools.lastActivity"
|
|
|
|
bit: 12
|
|
|
|
timetravel:
|
|
|
|
label: "perm.tools.timeTravel"
|
|
|
|
bit: 14
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
groups:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.groups"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "system"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.read"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.edit"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
create:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.create"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-03-19 17:48:51 +01:00
|
|
|
move:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.move"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
delete:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.delete"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 8
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'delete']
|
2019-03-19 17:48:51 +01:00
|
|
|
edit_permissions:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.edit_permissions"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 10
|
2020-03-07 20:49:52 +01:00
|
|
|
show_history:
|
|
|
|
label: "perm.show_history"
|
|
|
|
bit: 12
|
|
|
|
revert_element:
|
|
|
|
label: "perm.revert_elements"
|
|
|
|
bit: 14
|
|
|
|
alsoSet: ["read", "edit", "create", "delete", "move", "edit_permissions", "show_history"]
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
users:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.users"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "system"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.read"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
create:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.create"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read', 'edit_username', 'edit_infos']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
|
|
|
delete:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.delete"
|
2019-09-11 17:00:03 +02:00
|
|
|
alsoSet: ['read', 'edit_username', 'edit_infos']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 8
|
2019-03-19 18:36:05 +01:00
|
|
|
edit_username:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.edit_user_name"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2019-03-19 18:36:05 +01:00
|
|
|
change_group:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.edit_change_group"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
edit_infos:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.edit_infos"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 10
|
|
|
|
edit_permissions:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.edit_permissions"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 12
|
|
|
|
set_password:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.set_password"
|
2019-09-11 17:00:03 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 14
|
|
|
|
change_user_settings:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.users.change_user_settings"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 16
|
2020-03-07 20:49:52 +01:00
|
|
|
show_history:
|
|
|
|
label: "perm.show_history"
|
|
|
|
bit: 18
|
|
|
|
revert_element:
|
|
|
|
label: "perm.revert_elements"
|
|
|
|
bit: 20
|
2020-03-07 22:54:07 +01:00
|
|
|
alsoSet: ["read", "create", "delete", "edit_permissions", "show_history", "edit_infos", "change_group", "edit_username"]
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
database:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.database"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "system"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
see_status:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.database.see_status"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
update_db:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.database.update_db"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'see_status'
|
2019-03-19 17:48:51 +01:00
|
|
|
read_db_settings:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.database.read_db_settings"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
|
|
|
write_db_settings:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.database.write_db_settings"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['read_db_settings', 'see_status']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
|
|
|
|
config:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.config"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "system"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read_config:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.config.read_config"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit_config:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.config.edit_config"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read_config'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
server_info:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.config.server_info"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
|
|
|
|
system:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.system"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "system"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
use_debug:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.config.use_debug"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
show_logs:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.show_logs"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
delete_logs:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.delete_logs"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'show_logs'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
|
|
|
|
2019-03-26 23:34:40 +01:00
|
|
|
devices_parts:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.device_parts"
|
2019-09-10 17:12:56 +02:00
|
|
|
group: "parts"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
read:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.read"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.edit"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: 'read'
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
create:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.create"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['edit', 'read']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
delete:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.delete"
|
2019-09-11 13:37:51 +02:00
|
|
|
alsoSet: ['edit', 'read']
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 8
|
|
|
|
|
|
|
|
self:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.self"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
edit_infos:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.edit_infos"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit_username:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.edit_username"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
|
|
|
show_permissions:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.show_permissions"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 4
|
|
|
|
show_logs:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.show_logs"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
|
|
|
|
|
|
|
labels:
|
2019-09-10 23:28:08 +02:00
|
|
|
label: "perm.labels"
|
2019-03-19 17:48:51 +01:00
|
|
|
operations:
|
|
|
|
create_labels:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.create_labels"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 0
|
|
|
|
edit_options:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.edit_options"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 2
|
2020-05-04 23:21:58 +02:00
|
|
|
alsoSet: ['create_labels']
|
|
|
|
read_profiles:
|
|
|
|
label: "perm.self.read_profiles"
|
|
|
|
bit: 10
|
2019-03-19 17:48:51 +01:00
|
|
|
edit_profiles:
|
2019-09-10 18:35:24 +02:00
|
|
|
label: "perm.self.edit_profiles"
|
2019-03-19 17:48:51 +01:00
|
|
|
bit: 6
|
2020-05-04 23:21:58 +02:00
|
|
|
alsoSet: ['read_profiles']
|
|
|
|
create_profiles:
|
|
|
|
label: "perm.self.create_profiles"
|
|
|
|
bit: 8
|
|
|
|
alsoSet: ['read_profiles', 'edit_profiles']
|
|
|
|
delete_profiles:
|
|
|
|
label: "perm.self.delete_profiles"
|
|
|
|
bit: 4
|
|
|
|
alsoSet: ['read_profiles', 'edit_profiles', 'create_profiles']
|
2020-05-07 22:29:45 +02:00
|
|
|
use_twig:
|
|
|
|
label: "perm.labels.use_twig"
|
|
|
|
bit: 12
|
|
|
|
alsoSet: ['create_labels', 'edit_options']
|
2019-03-19 17:48:51 +01:00
|
|
|
|
|
|
|
|