mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Dropped use of non-view joint permissions
This commit is contained in:
@ -90,6 +90,7 @@ class PublicActionTest extends TestCase
|
||||
$publicRole->attachPermission($perm);
|
||||
}
|
||||
$this->app->make(JointPermissionBuilder::class)->rebuildForRole($publicRole);
|
||||
user()->clearPermissionCache();
|
||||
|
||||
/** @var Chapter $chapter */
|
||||
$chapter = Chapter::query()->first();
|
||||
|
Reference in New Issue
Block a user