mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Refactored permission system components
Split joint permission creation into chunks Fixes #374
This commit is contained in:
@ -533,11 +533,11 @@ class EntityRepo
|
||||
|
||||
/**
|
||||
* Alias method to update the book jointPermissions in the PermissionService.
|
||||
* @param Collection $collection collection on entities
|
||||
* @param Book $book
|
||||
*/
|
||||
public function buildJointPermissions(Collection $collection)
|
||||
public function buildJointPermissionsForBook(Book $book)
|
||||
{
|
||||
$this->permissionService->buildJointPermissionsForEntities($collection);
|
||||
$this->permissionService->buildJointPermissionsForEntity($book);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user