Home
last modified time | relevance | path

Searched refs:isEditor (Results 1 – 18 of 18) sorted by relevance

/webtrees/tests/feature/
H A DPrivacy.php79 self::assertTrue(Auth::isEditor($tree), 'admin isEditor()');
86 self::assertTrue(Auth::isEditor($tree, $manager), 'manager isEditor()');
93 self::assertTrue(Auth::isEditor($tree, $moderator), 'moderator isEditor()');
100 self::assertTrue(Auth::isEditor($tree, $editor), 'editor isEditor()');
107 self::assertFalse(Auth::isEditor($tree, $member), 'member isEditor()');
114 self::assertFalse(Auth::isEditor($tree, $visitor), 'visitor isEditor()');
/webtrees/resources/views/
H A Drecord-page-pending.phtml20 <?php elseif (Auth::isEditor($record->tree())) : ?>
26 <?php elseif (Auth::isEditor($record->tree())) : ?>
H A Dmedia-page-pending.phtml19 <?php elseif (Auth::isEditor($record->tree())) : ?>
25 <?php elseif (Auth::isEditor($record->tree())) : ?>
H A Dindividual-page-pending.phtml22 <?php elseif (Auth::isEditor($record->tree())) : ?>
31 <?php elseif (Auth::isEditor($record->tree())) : ?>
H A Dnote-page-pending.phtml20 <?php elseif (Auth::isEditor($record->tree())) : ?>
26 <?php elseif (Auth::isEditor($record->tree())) : ?>
H A Dfamily-page-pending.phtml20 <?php elseif (Auth::isEditor($record->tree())) : ?>
26 <?php elseif (Auth::isEditor($record->tree())) : ?>
H A Dnote-page-details.phtml25 <?php if (Auth::isEditor($record->tree())) : ?>
H A Dmedia-page-details.phtml53 <?php elseif (Auth::isEditor($record->tree())) :?>
H A Dfact-association-structure.phtml108 } elseif (Auth::isEditor($fact->record()->tree())) {
/webtrees/app/
H A DAuth.php105 public static function isEditor(Tree $tree, UserInterface|null $user = null): bool function in Fisharebest\\Webtrees\\Auth
127 self::isEditor($tree, $user) ||
578 self::isEditor($tree, $user) &&
H A DFact.php372 …return Auth::isEditor($this->record->tree()) && !str_ends_with($this->attribute('RESN'), Restricti…
H A DGedcomRecord.php288 return Auth::isEditor($this->tree) && !$locked;
/webtrees/app/Factories/
H A DAbstractGedcomRecordFactory.php44 if (!Auth::isEditor($tree)) {
/webtrees/app/Http/Middleware/
H A DAuthEditor.php53 if (Auth::isEditor($tree, $user)) {
/webtrees/app/Module/
H A DSearchMenuModule.php130 if (Auth::isEditor($tree)) {
H A DReviewChangesModule.php147 if (Auth::isEditor($tree) && $tree->hasPendingEdit()) {
/webtrees/app/Http/RequestHandlers/
H A DDeleteRecord.php70 if (Auth::isEditor($record->tree()) && $record->canShow() && $record->canEdit()) {
/webtrees/resources/views/modules/media-list/
H A Dpage.phtml135 if (Auth::isEditor($tree)) {