Home
last modified time | relevance | path

Searched refs:isModerator (Results 1 – 11 of 11) sorted by relevance

/webtrees/tests/feature/
H A DPrivacy.php78 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 Drecord-page-pending.phtml18 <?php if (Auth::isModerator($record->tree())) : ?>
24 <?php if (Auth::isModerator($record->tree())) : ?>
H A Dmedia-page-pending.phtml17 <?php if (Auth::isModerator($record->tree())) : ?>
23 <?php if (Auth::isModerator($record->tree())) : ?>
H A Dindividual-page-pending.phtml17 <?php if (Auth::isModerator($record->tree())) : ?>
26 <?php if (Auth::isModerator($record->tree())) : ?>
H A Dnote-page-pending.phtml18 <?php if (Auth::isModerator($record->tree())) : ?>
24 <?php if (Auth::isModerator($record->tree())) : ?>
H A Dfamily-page-pending.phtml18 <?php if (Auth::isModerator($record->tree())) : ?>
24 <?php if (Auth::isModerator($record->tree())) : ?>
/webtrees/app/
H A DAuth.php88 public static function isModerator(Tree $tree, UserInterface|null $user = null): bool function in Fisharebest\\Webtrees\\Auth
110 self::isModerator($tree, $user) ||
H A DTree.php333 return Auth::isModerator($this, $user);
/webtrees/app/Http/Middleware/
H A DAuthModerator.php53 if (Auth::isModerator($tree, $user)) {
/webtrees/app/Module/
H A DReviewChangesModule.php149 if (Auth::isModerator($tree)) {
H A DModuleThemeTrait.php417 if ($tree instanceof Tree && $tree->hasPendingEdit() && Auth::isModerator($tree)) {