fixed bug on administrator check

This commit is contained in:
lucio 2020-01-30 17:02:13 +01:00
parent 2033af4572
commit 8a84c93c18
1 changed files with 2 additions and 2 deletions

View File

@ -151,11 +151,11 @@ public class AuthorizationChecker {
return;
}
throw new UserNotAuthorizedException("The user "+login+" is not an administrator of node with id "+item.getId());
//throw new UserNotAuthorizedException("The user "+login+" is not an administrator of node with id "+item.getId());
}
}
}
} //else should never happen
throw new UserNotAuthorizedException("The user "+login+" is not an administrator of node with id "+item.getId());