Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: fix manage user journey (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 11, 2024
1 parent 0af801b commit 9776957
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion module/Olcs/src/Table/Tables/users.table.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function ($role) {
'type' => 'ActionLinks',
'isRemoveVisible' => function ($row) {
/** $var TableBuilder $this */
return ($row['id'] !== $this->authService->getIdentity()->getUserData()['id']);
return $this->permissionService->isSelf($row['id']);
},
'ariaDescription' => function ($row, $column) {
$column['formatter'] = Name::class;
Expand Down

0 comments on commit 9776957

Please sign in to comment.