fixed bug on administrator check
This commit is contained in:
parent
2033af4572
commit
8a84c93c18
|
@ -151,11 +151,11 @@ public class AuthorizationChecker {
|
||||||
return;
|
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());
|
throw new UserNotAuthorizedException("The user "+login+" is not an administrator of node with id "+item.getId());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue