Searched refs:ROLE_MODERATOR (Results 1 – 8 of 8) sorted by relevance
/webtrees/tests/app/Services/ |
H A D | UserServiceTest.php | 162 … $tree->setUserPreference($user2, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR); 182 … $tree->setUserPreference($user2, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR);
|
/webtrees/app/Contracts/ |
H A D | UserInterface.php | 52 public const string ROLE_MODERATOR = 'accept';
|
/webtrees/tests/app/Http/Middleware/ |
H A D | AuthModeratorTest.php | 46 …reference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_MODERATOR);
|
H A D | AuthManagerTest.php | 68 …reference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_MODERATOR);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UserEditPage.php | 101 UserInterface::ROLE_MODERATOR => I18N::translate('Moderator'),
|
/webtrees/tests/feature/ |
H A D | Privacy.php | 61 …$tree->setUserPreference($moderator, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR);
|
/webtrees/app/Services/ |
H A D | UserService.php | 227 ->where('user_gedcom_setting.setting_value', '=', UserInterface::ROLE_MODERATOR)
|
/webtrees/app/ |
H A D | Auth.php | 94 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_MODERATOR;
|