Searched refs:ROLE_EDITOR (Results 1 – 7 of 7) sorted by relevance
/webtrees/tests/app/Services/ |
H A D | UserServiceTest.php | 163 $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 D | UserInterface.php | 51 public const ROLE_EDITOR = 'edit'; define
|
/webtrees/tests/app/Http/Middleware/ |
H A D | AuthModeratorTest.php | 68 …erPreference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_EDITOR);
|
H A D | AuthEditorTest.php | 46 …erPreference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_EDITOR);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UserEditPage.php | 99 UserInterface::ROLE_EDITOR => I18N::translate('Editor'),
|
/webtrees/tests/feature/ |
H A D | Privacy.php | 64 … $tree->setUserPreference($editor, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
|
/webtrees/app/ |
H A D | Auth.php | 111 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_EDITOR;
|