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 authored and chenejac committed Dec 1, 2023
1 parent 68b2b31 commit 5bc701e
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 5bc701e

Please sign in to comment.