Allow non-admin users to see the organisations list (required for easier "Join" and "Register" requests). Filter the list to approved or memberOf organisations only.
This commit is contained in:
1 parent
c3e7c24e6d
commit
4d57f6d33e
2 files changed
+10
No files matched your search
@@ -203,6 +203,7 @@ class OrganisationPermissions extends BaseSeed
|
||||
$roleUser = Role::where('slug', 'user')->first();
|
||||
if ($roleUser) {
|
||||
$roleUser->permissions()->syncWithoutDetaching([
|
||||
$permissions['uri_organisations']->id,
|
||||
$permissions['uri_organisation_own']->id,
|
||||
$permissions['view_organisation_field_own']->id,
|
||||
$permissions['leave_organisation']->id,
|
||||
|
||||
Reference in new issue
Block a user