Skip to content

Commit 12db3dc

Browse files
authored
[Document_Repo] fix perm in editcategory (#9965)
Change "document_repository_upload" to "document_repository_upload_edit"
1 parent 1a6d251 commit 12db3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/document_repository/php/editcategory.class.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class EditCategory extends \NDB_Page
4040
return ($user->hasPermission('document_repository_categories')
4141
&& $user->hasAnyPermission(
4242
[
43-
'document_repository_upload',
43+
'document_repository_upload_edit',
4444
'document_repository_delete',
4545
]
4646
)

0 commit comments

Comments
 (0)