@@ -10,12 +10,5 @@ class CompanyPolicy extends SnipePermissionsPolicy
|
||||
{
|
||||
return 'companies';
|
||||
}
|
||||
|
||||
public function canEditThisCompany($company_id = null) {
|
||||
if ((Setting::getSettings()->scope_locations_fmcs) && ($this->company_id == $company_id)){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user