Skip to content

Commit

Permalink
Changes to files: Entities/Category.php
Browse files Browse the repository at this point in the history
Entities/Stock.php
  • Loading branch information
dedanirungu committed Apr 12, 2024
1 parent 2a06316 commit af9ffc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Entities/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function rights(): array
$rights = parent::rights();

$rights['staff'] = ['view' => true];
$rights['registered'] = ['view' => true];
$rights['registered'] = [];
$rights['guest'] = [];

return $rights;
Expand Down
2 changes: 1 addition & 1 deletion Entities/Stock.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function rights(): array
$rights = parent::rights();

$rights['staff'] = ['view' => true];
$rights['registered'] = ['view' => true];
$rights['registered'] = [];
$rights['guest'] = [];

return $rights;
Expand Down

0 comments on commit af9ffc2

Please sign in to comment.