mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Add CanEditEbooks benefit and clean up some PHPStan errors
This commit is contained in:
parent
23b5c8ef31
commit
1a742baa51
10 changed files with 75 additions and 14 deletions
|
@ -16,6 +16,7 @@ class Benefits{
|
|||
public bool $CanReviewOwnArtwork = false;
|
||||
public bool $CanEditUsers = false;
|
||||
public bool $CanEditCollections = false;
|
||||
public bool $CanEditEbooks = false;
|
||||
public bool $CanCreateEbookPlaceholders = false;
|
||||
|
||||
protected bool $_HasBenefits;
|
||||
|
@ -30,6 +31,10 @@ class Benefits{
|
|||
||
|
||||
$this->CanEditUsers
|
||||
||
|
||||
$this->CanEditCollections
|
||||
||
|
||||
$this->CanEditEbooks
|
||||
||
|
||||
$this->CanCreateEbookPlaceholders
|
||||
){
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue