Fixed is_member access right from granting pending members permission

This commit is contained in:
2022-02-15 17:56:26 +00:00
parent 5c8cf6778c
commit 108a34481e

View File

@@ -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;
}); });