Moved auditer into a sprinkle of it's own

This commit is contained in:
2022-05-19 16:44:21 +01:00
parent a61231e977
commit a820fb56e0
2 changed files with 0 additions and 12 deletions

View File

@@ -340,13 +340,6 @@ class OrganisationPermissions extends BaseSeed
]);
}
$roleAuditer = Role::where('slug', 'auditer')->first();
if ($roleAuditer) {
$roleAuditer->permissions()->syncWithoutDetaching([
Permission::where('slug', 'uri_activities')->first()->id,
]);
}
$roleUser = Role::where('slug', 'user')->first();
if ($roleUser) {
$roleUser->permissions()->syncWithoutDetaching([