Skip to content

Commit

Permalink
Closes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Jun 28, 2024
1 parent 5ea4c70 commit df55549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Models/YnhPermission.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public static function apps(User $user): Collection
{
$users = YnhUser::from($user)->map(fn(YnhUser $ynhUser) => $ynhUser->id)->all();
return YnhPermission::whereIn('ynh_user_id', $users)
->whereNotIn('name', ['sftp.main', 'ssh.main'])
->get()
->sortBy([
['application.name', 'asc']
Expand Down

0 comments on commit df55549

Please sign in to comment.