mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-01 14:04:30 +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
|
||||
{
|
||||
protected const OBJ_PERM_MAP = [
|
||||
AttachmentType::class => 'attachment_type',
|
||||
AttachmentType::class => 'attachment_types',
|
||||
Category::class => 'categories',
|
||||
Device::class => 'devices',
|
||||
Footprint::class => 'footprints',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue