Home
last modified time | relevance | path

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

/webtrees/tests/feature/
H A DPrivacy.php77 self::assertTrue(Auth::isManager($tree), 'admin isManager()');
84 self::assertTrue(Auth::isManager($tree, $manager), 'manager isManager()');
91 self::assertFalse(Auth::isManager($tree, $moderator), 'moderator NOT isManager()');
98 self::assertFalse(Auth::isManager($tree, $editor), 'editor NOT isManager()');
105 self::assertFalse(Auth::isManager($tree, $member), 'member NOT isManager()');
112 self::assertFalse(Auth::isManager($tree, $visitor), 'visitor NOT isManager()');
/webtrees/app/Module/
H A DFamilyTreeNewsModule.php154 if (!Auth::isManager($tree)) {
197 if (!Auth::isManager($tree)) {
240 if (!Auth::isManager($tree)) {
H A DFamilyTreeFavoritesModule.php72 'can_edit' => Auth::isManager($tree),
168 if (Auth::isManager($tree, $user)) {
194 if (Auth::isManager($tree, $user)) {
H A DModuleThemeTrait.php207 if (Auth::isManager($tree) && $route->name === TreePage::class) {
227 if (Auth::isManager($tree)) {
H A DModuleBlockTrait.php91 if ($context === ModuleBlockInterface::CONTEXT_TREE_PAGE && Auth::isManager($tree)) {
H A DReviewChangesModule.php122 if ($tmp_tree->hasPendingEdit() && Auth::isManager($tmp_tree, $user)) {
H A DStoriesModule.php149 … return Auth::isManager($individual->tree()) || $this->getStoriesForIndividual($individual) !== [];
H A DClippingsCartModule.php223 } elseif (Auth::isManager($tree)) {
/webtrees/resources/views/modules/gedcom_news/
H A Dlist.phtml39 <?php if (Auth::isManager($tree)) : ?>
60 <?php if (Auth::isManager($tree)) : ?>
/webtrees/app/
H A DAuth.php73 public static function isManager(Tree $tree, UserInterface|null $user = null): bool function in Fisharebest\\Webtrees\\Auth
93 self::isManager($tree, $user) ||
143 if (self::isManager($tree, $user)) {
H A DFact.php367 if (Auth::isManager($this->record->tree())) {
H A DGedcomRecord.php281 if (Auth::isManager($this->tree)) {
/webtrees/resources/views/modules/user_blog/
H A Dlist.phtml39 <?php if (Auth::isManager($tree)) : ?>
/webtrees/app/Http/Middleware/
H A DAuthManager.php53 if (Auth::isManager($tree, $user)) {
/webtrees/resources/views/admin/
H A Dgedcom-export-options.phtml105 <?php elseif (Auth::isManager($tree)) : ?>
H A Dtrees.phtml56 <?php if (Auth::isManager($managed_tree)) : ?>
/webtrees/app/Http/RequestHandlers/
H A DHomePage.php75 if (Auth::isManager($tree, $user)) {
/webtrees/resources/views/
H A Dmedia-page-menu.phtml73 <?php if (Auth::isManager($record->tree())) : ?>