Searched refs:accessLevel (Results 1 – 17 of 17) sorted by relevance
/webtrees/app/Module/ |
H A D | ModuleTabTrait.php | 70 abstract public function accessLevel(Tree $tree, string $interface): int; function 140 … if ($this->accessLevel($tree, ModuleTabInterface::class) < Auth::accessLevel($tree, $user)) {
|
H A D | ModuleInterface.php | 92 public function accessLevel(Tree $tree, string $interface): int; function
|
H A D | RelativesTabModule.php | 74 $fam_access_level = Auth::accessLevel($tree);
|
H A D | AbstractModule.php | 215 final public function accessLevel(Tree $tree, string $interface): int function in Fisharebest\\Webtrees\\Module\\AbstractModule
|
H A D | UserMessagesModule.php | 125 $can_see_tree = $public_tree || Auth::accessLevel($tree, $user) <= Auth::PRIV_USER;
|
/webtrees/app/ |
H A D | Auth.php | 139 public static function accessLevel(Tree $tree, UserInterface|null $user = null): int function in Fisharebest\\Webtrees\\Auth 211 if ($module->accessLevel($tree, $interface) < self::accessLevel($tree, $user)) { 579 self::accessLevel($tree, $user) <= (int) $tree->getPreference('MEDIA_UPLOAD');
|
H A D | Individual.php | 83 $access_level ??= Auth::accessLevel($this->tree); 668 $access_level ??= Auth::accessLevel($this->tree); 734 $access_level ??= Auth::accessLevel($this->tree); 1062 $access_level = $this->canShowName() ? Auth::PRIV_HIDE : Auth::accessLevel($this->tree);
|
H A D | GedcomRecord.php | 245 $access_level ??= Auth::accessLevel($this->tree); 622 $access_level ??= Auth::accessLevel($this->tree); 1107 …er(), UserInterface::PREF_TREE_ACCOUNT_XREF) && $access_level === Auth::accessLevel($this->tree)) {
|
H A D | Family.php | 193 $access_level ??= Auth::accessLevel($this->tree);
|
H A D | Fact.php | 316 $access_level ??= Auth::accessLevel($this->record->tree());
|
/webtrees/app/Report/ |
H A D | ReportParserGenerate.php | 699 $newgedrec = $tmp ? $tmp->privatizeGedcom(Auth::accessLevel($this->tree)) : ''; 710 … $newgedrec = $tmp ? $tmp->privatizeGedcom(Auth::accessLevel($this->tree)) : ''; 717 … $newgedrec = $tmp ? $tmp->privatizeGedcom(Auth::accessLevel($this->tree)) : ''; 2175 … if (!preg_match('/' . $filter . '/i', $record->privatizeGedcom(Auth::accessLevel($this->tree)))) { 2186 $grec = $indi->privatizeGedcom(Auth::accessLevel($this->tree)); 2318 $this->gedrec = $record->privatizeGedcom(Auth::accessLevel($record->tree())); 2547 $this->gedrec = $tmp->privatizeGedcom(Auth::accessLevel($this->tree));
|
/webtrees/app/Http/RequestHandlers/ |
H A D | AbstractModuleComponentPage.php | 72 ->map(static fn (Tree $tree): int => $module->accessLevel($tree, $interface))
|
H A D | AbstractModuleComponentAction.php | 106 if ($access_level !== $module->accessLevel($tree, $interface)) {
|
/webtrees/resources/views/ |
H A D | media-page-details.phtml | 80 …php if ($record->tree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($record->tree()…
|
/webtrees/resources/views/admin/ |
H A D | components.phtml | 120 …access-' . $module->name() . '-' . $tree->id(), 'selected' => $module->accessLevel($tree, $interfa…
|
/webtrees/app/Services/ |
H A D | ModuleService.php | 560 …tic fn (ModuleInterface $module): bool => $module->accessLevel($tree, $interface) >= Auth::accessL…
|
/webtrees/app/Factories/ |
H A D | ImageFactory.php | 237 …return Auth::accessLevel(tree: $tree, user: $user) > (int) $tree->getPreference(setting_name: 'SHO…
|