Home
last modified time | relevance | path

Searched refs:ROLE_EDITOR (Results 1 – 7 of 7) sorted by relevance

/webtrees/tests/app/Services/
H A DUserServiceTest.php163 $tree->setUserPreference($user3, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
183 $tree->setUserPreference($user3, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
/webtrees/app/Contracts/
H A DUserInterface.php51 public const ROLE_EDITOR = 'edit'; define
/webtrees/tests/app/Http/Middleware/
H A DAuthModeratorTest.php68 …erPreference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_EDITOR);
H A DAuthEditorTest.php46 …erPreference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_EDITOR);
/webtrees/app/Http/RequestHandlers/
H A DUserEditPage.php99 UserInterface::ROLE_EDITOR => I18N::translate('Editor'),
/webtrees/tests/feature/
H A DPrivacy.php64 … $tree->setUserPreference($editor, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
/webtrees/app/
H A DAuth.php111 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_EDITOR;