mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-30 14:49:55 +02:00
Fixed wrong permission name in StructureVoter.
This commit is contained in:
parent
a28747b7ba
commit
b694ca8861
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ use function is_object;
|
||||||
class StructureVoter extends ExtendedVoter
|
class StructureVoter extends ExtendedVoter
|
||||||
{
|
{
|
||||||
protected const OBJ_PERM_MAP = [
|
protected const OBJ_PERM_MAP = [
|
||||||
AttachmentType::class => 'attachment_type',
|
AttachmentType::class => 'attachment_types',
|
||||||
Category::class => 'categories',
|
Category::class => 'categories',
|
||||||
Device::class => 'devices',
|
Device::class => 'devices',
|
||||||
Footprint::class => 'footprints',
|
Footprint::class => 'footprints',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue