Moved auditer into a sprinkle of it's own

This commit is contained in:
bwilliams committed 2022-05-19 16:44:21 +01:00
1 parent a61231e977
commit a820fb56e0
2 files changed
-12

No files matched your search

@@ -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([