Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Sep 1, 2023
1 parent 19b59ae commit 1dcdcad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ protected ResponseValues processRequest(VitroRequest vreq) {
ObjectPropertyStatementAccessObject aops = new ObjectPropertyStatementAccessObject(vreq.getJenaOntModel(), profileUri, SOME_PREDICATE, SOME_URI);
if (!PolicyHelper.isAuthorizedForActions(vreq,
AuthorizationRequest.or(
new SimpleAuthorizationRequest(aops, AccessOperation.ADD),
new SimpleAuthorizationRequest(adps, AccessOperation.ADD),
new SimpleAuthorizationRequest(aops, AccessOperation.ADD)))) {
return new TemplateResponseValues("unauthorizedForProfile.ftl");
}
Expand Down

0 comments on commit 1dcdcad

Please sign in to comment.