Skip to content

Commit

Permalink
Merge branch 'main' into preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
devletech committed Nov 25, 2024
2 parents dd9698e + 3806ef4 commit f05139e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions library/Episciences/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -1487,12 +1487,13 @@ public function isNotAllowedToDeclareConflict(): bool
$this->hasRole(Episciences_Acl::ROLE_ADMIN)
) &&
!(
$this->hasRole(Episciences_Acl::ROLE_SECRETARY) &&
$this->hasRole(Episciences_Acl::ROLE_CHIEF_EDITOR) &&
$this->hasRole(Episciences_Acl::ROLE_GUEST_EDITOR) &&
$this->hasRole(Episciences_Acl::ROLE_EDITOR) &&
$this->hasRole(Episciences_Acl::ROLE_SECRETARY) ||
$this->hasRole(Episciences_Acl::ROLE_CHIEF_EDITOR) ||
$this->hasRole(Episciences_Acl::ROLE_GUEST_EDITOR) ||
$this->hasRole(Episciences_Acl::ROLE_EDITOR) ||
$this->hasRole(Episciences_Acl::ROLE_COPY_EDITOR)
);

}


Expand Down

0 comments on commit f05139e

Please sign in to comment.