Fixed is_member access right from granting pending members permission
This commit is contained in:
@@ -77,6 +77,7 @@ class ServicesProvider
|
|||||||
return Capsule::table('organisation_members')
|
return Capsule::table('organisation_members')
|
||||||
->where('user_id', $user_id)
|
->where('user_id', $user_id)
|
||||||
->where('organisation_id', $organisation_id)
|
->where('organisation_id', $organisation_id)
|
||||||
|
->where('flag_approved', true)
|
||||||
->count() > 0;
|
->count() > 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user