This commit is contained in:
tianshujie
2023-11-06 08:51:17 +08:00
parent a3bb493532
commit 62e08d0a3c
+3 -2
View File
@@ -898,8 +898,9 @@ class groupModel extends model
{
$action = strtolower($action);
if($action == 'manageview' and $group->role == 'limited') return false;
if($action == 'copy' and $group->role == 'limited') return false;
if($action == 'manageview' && $group->role == 'limited') return false;
if($action == 'manageprojectadmin' && $group->role != 'projectAdmin') return false;
if($action == 'copy' && $group->role == 'limited') return false;
return true;
}