Skip to content

Commit

Permalink
[fix] editors with manager project roles were seeing company menu poi…
Browse files Browse the repository at this point in the history
…nt. (403 on click though)
  • Loading branch information
marcelfolaron committed Apr 23, 2024
1 parent a95dd86 commit 9fade7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Menu/Templates/headMenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class="active"
data-tippy-content="{{ __('popover.my_work') }}"
>{!! __('menu.my_work') !!}</a>
</li>
@if ($login::userIsAtLeast("manager"))
@if ($login::userIsAtLeast("manager", true))
<li>
<a
href="{{ BASE_URL }}/setting/editCompanySettings/"
Expand Down

0 comments on commit 9fade7a

Please sign in to comment.