Searched refs:isModerator (Results 1 – 11 of 11) sorted by relevance
/webtrees/tests/feature/ |
H A D | Privacy.php | 78 self::assertTrue(Auth::isModerator($tree), 'admin isModerator()'); 85 self::assertTrue(Auth::isModerator($tree, $manager), 'manager isModerator()'); 92 self::assertTrue(Auth::isModerator($tree, $moderator), 'moderator isModerator()'); 99 self::assertFalse(Auth::isModerator($tree, $editor), 'editor isModerator()'); 106 self::assertFalse(Auth::isModerator($tree, $member), 'member isModerator()'); 113 self::assertFalse(Auth::isModerator($tree, $visitor), 'visitor isModerator()');
|
/webtrees/resources/views/ |
H A D | record-page-pending.phtml | 18 <?php if (Auth::isModerator($record->tree())) : ?> 24 <?php if (Auth::isModerator($record->tree())) : ?>
|
H A D | media-page-pending.phtml | 17 <?php if (Auth::isModerator($record->tree())) : ?> 23 <?php if (Auth::isModerator($record->tree())) : ?>
|
H A D | individual-page-pending.phtml | 17 <?php if (Auth::isModerator($record->tree())) : ?> 26 <?php if (Auth::isModerator($record->tree())) : ?>
|
H A D | note-page-pending.phtml | 18 <?php if (Auth::isModerator($record->tree())) : ?> 24 <?php if (Auth::isModerator($record->tree())) : ?>
|
H A D | family-page-pending.phtml | 18 <?php if (Auth::isModerator($record->tree())) : ?> 24 <?php if (Auth::isModerator($record->tree())) : ?>
|
/webtrees/app/ |
H A D | Auth.php | 88 public static function isModerator(Tree $tree, UserInterface|null $user = null): bool function in Fisharebest\\Webtrees\\Auth 110 self::isModerator($tree, $user) ||
|
H A D | Tree.php | 333 return Auth::isModerator($this, $user);
|
/webtrees/app/Http/Middleware/ |
H A D | AuthModerator.php | 53 if (Auth::isModerator($tree, $user)) {
|
/webtrees/app/Module/ |
H A D | ReviewChangesModule.php | 149 if (Auth::isModerator($tree)) {
|
H A D | ModuleThemeTrait.php | 417 if ($tree instanceof Tree && $tree->hasPendingEdit() && Auth::isModerator($tree)) {
|