Fix method SecurityUtils.isSuperuserOrRolePlanningOrHasAnyAuthorization
If user has ROLE_READ_ALL_PROJECTS it should return true too. FEA: ItEr76S30PermissionsEnhancements
This commit is contained in:
parent
d47f29f862
commit
9c990a054e
1 changed files with 2 additions and 1 deletions
|
|
@ -109,7 +109,8 @@ public final class SecurityUtils {
|
|||
* </ul>
|
||||
*/
|
||||
public final static boolean isSuperuserOrRolePlanningOrHasAnyAuthorization() {
|
||||
if (isSuperuserOrUserInRoles(UserRole.ROLE_PLANNING)) {
|
||||
if (isSuperuserOrUserInRoles(UserRole.ROLE_PLANNING,
|
||||
UserRole.ROLE_READ_ALL_PROJECTS)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue