Home
last modified time | relevance | path

Searched refs:accessLevel (Results 1 – 17 of 17) sorted by relevance

/webtrees/app/Module/
H A DModuleTabTrait.php70 abstract public function accessLevel(Tree $tree, string $interface): int; function
140 … if ($this->accessLevel($tree, ModuleTabInterface::class) < Auth::accessLevel($tree, $user)) {
H A DModuleInterface.php92 public function accessLevel(Tree $tree, string $interface): int; function
H A DRelativesTabModule.php74 $fam_access_level = Auth::accessLevel($tree);
H A DAbstractModule.php215 final public function accessLevel(Tree $tree, string $interface): int function in Fisharebest\\Webtrees\\Module\\AbstractModule
H A DUserMessagesModule.php125 $can_see_tree = $public_tree || Auth::accessLevel($tree, $user) <= Auth::PRIV_USER;
/webtrees/app/
H A DAuth.php139 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 DIndividual.php83 $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 DGedcomRecord.php245 $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 DFamily.php193 $access_level ??= Auth::accessLevel($this->tree);
H A DFact.php316 $access_level ??= Auth::accessLevel($this->record->tree());
/webtrees/app/Report/
H A DReportParserGenerate.php699 $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 DAbstractModuleComponentPage.php72 ->map(static fn (Tree $tree): int => $module->accessLevel($tree, $interface))
H A DAbstractModuleComponentAction.php106 if ($access_level !== $module->accessLevel($tree, $interface)) {
/webtrees/resources/views/
H A Dmedia-page-details.phtml80 …php if ($record->tree()->getPreference('SHOW_MEDIA_DOWNLOAD') >= Auth::accessLevel($record->tree()…
/webtrees/resources/views/admin/
H A Dcomponents.phtml120 …access-' . $module->name() . '-' . $tree->id(), 'selected' => $module->accessLevel($tree, $interfa…
/webtrees/app/Services/
H A DModuleService.php560 …tic fn (ModuleInterface $module): bool => $module->accessLevel($tree, $interface) >= Auth::accessL…
/webtrees/app/Factories/
H A DImageFactory.php237 …return Auth::accessLevel(tree: $tree, user: $user) > (int) $tree->getPreference(setting_name: 'SHO…