* Migrate changes of 18.x to master.

This commit is contained in:
朱金勇
2023-10-12 01:16:07 +00:00
parent fec896c911
commit bde6af1d93
9 changed files with 14 additions and 16 deletions
+3 -5
View File
@@ -1137,11 +1137,9 @@ class userModel extends model
}
/* Set basic priv when no any priv. */
if(empty($rights))
{
$rights['index']['index'] = 1;
$rights['my']['index'] = 1;
}
$rights['index']['index'] = 1;
$rights['my']['index'] = 1;
return array('rights' => $rights, 'acls' => $acls, 'projects' => $canManageProjects, 'programs' => $canManagePrograms, 'products' => $canManageProducts, 'executions' => $canManageExecutions);
}