Searched refs:isEditor (Results 1 – 18 of 18) sorted by relevance
/webtrees/tests/feature/ |
H A D | Privacy.php | 79 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 D | record-page-pending.phtml | 20 <?php elseif (Auth::isEditor($record->tree())) : ?> 26 <?php elseif (Auth::isEditor($record->tree())) : ?>
|
H A D | media-page-pending.phtml | 19 <?php elseif (Auth::isEditor($record->tree())) : ?> 25 <?php elseif (Auth::isEditor($record->tree())) : ?>
|
H A D | individual-page-pending.phtml | 22 <?php elseif (Auth::isEditor($record->tree())) : ?> 31 <?php elseif (Auth::isEditor($record->tree())) : ?>
|
H A D | note-page-pending.phtml | 20 <?php elseif (Auth::isEditor($record->tree())) : ?> 26 <?php elseif (Auth::isEditor($record->tree())) : ?>
|
H A D | family-page-pending.phtml | 20 <?php elseif (Auth::isEditor($record->tree())) : ?> 26 <?php elseif (Auth::isEditor($record->tree())) : ?>
|
H A D | note-page-details.phtml | 25 <?php if (Auth::isEditor($record->tree())) : ?>
|
H A D | media-page-details.phtml | 53 <?php elseif (Auth::isEditor($record->tree())) :?>
|
H A D | fact-association-structure.phtml | 108 } elseif (Auth::isEditor($fact->record()->tree())) {
|
/webtrees/app/ |
H A D | Auth.php | 105 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 D | Fact.php | 372 …return Auth::isEditor($this->record->tree()) && !str_ends_with($this->attribute('RESN'), Restricti…
|
H A D | GedcomRecord.php | 288 return Auth::isEditor($this->tree) && !$locked;
|
/webtrees/app/Factories/ |
H A D | AbstractGedcomRecordFactory.php | 44 if (!Auth::isEditor($tree)) {
|
/webtrees/app/Http/Middleware/ |
H A D | AuthEditor.php | 53 if (Auth::isEditor($tree, $user)) {
|
/webtrees/app/Module/ |
H A D | SearchMenuModule.php | 130 if (Auth::isEditor($tree)) {
|
H A D | ReviewChangesModule.php | 147 if (Auth::isEditor($tree) && $tree->hasPendingEdit()) {
|
/webtrees/app/Http/RequestHandlers/ |
H A D | DeleteRecord.php | 70 if (Auth::isEditor($record->tree()) && $record->canShow() && $record->canEdit()) {
|
/webtrees/resources/views/modules/media-list/ |
H A D | page.phtml | 135 if (Auth::isEditor($tree)) {
|