Skip to content

Commit

Permalink
Merge pull request #119 from LM-Commons/2.1.x-merge-up-into-2.2.x_459…
Browse files Browse the repository at this point in the history
…c2sCu

Merge release 2.1.1 into 2.2.x
  • Loading branch information
visto9259 authored Jan 4, 2025
2 parents 226cd1e + 2110f50 commit 35ba914
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,12 @@ return [
],
'assertion_map' => [
'edit' => function ($permission, IdentityInterface $identity = null, $resource = null) {
if ($resource->getOwnerId() === $identity->getId() {
return true;
} else {
return false;
}
if ($resource->getOwnerId() === $identity->getId()) {
return true;
} else {
return false;
}
},
],
],
];
Expand Down

0 comments on commit 35ba914

Please sign in to comment.