Skip to content

Commit

Permalink
refact: renamed authorization request variable
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Dec 1, 2023
1 parent 131ffb4 commit bb90596
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ public GroupedPropertyList getPropertyList() {
*/
public boolean isEditable() {
ObjectPropertyStatementAccessObject aops = new ObjectPropertyStatementAccessObject(vreq.getJenaOntModel(), individual.getURI(), SOME_PREDICATE, SOME_URI);
SimpleAuthorizationRequest addSomeObjectProperty = new SimpleAuthorizationRequest(aops, AccessOperation.EDIT);
return PolicyHelper.isAuthorizedForActions(vreq, addSomeObjectProperty);
SimpleAuthorizationRequest editSomeObjectProperty = new SimpleAuthorizationRequest(aops, AccessOperation.EDIT);
return PolicyHelper.isAuthorizedForActions(vreq, editSomeObjectProperty);
}

public boolean getShowAdminPanel() {
Expand Down

0 comments on commit bb90596

Please sign in to comment.