Home
last modified time | relevance | path

Searched refs:ROLE_MODERATOR (Results 1 – 8 of 8) sorted by relevance

/webtrees/tests/app/Services/
H A DUserServiceTest.php162 … $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 DUserInterface.php52 public const string ROLE_MODERATOR = 'accept';
/webtrees/tests/app/Http/Middleware/
H A DAuthModeratorTest.php46 …reference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_MODERATOR);
H A DAuthManagerTest.php68 …reference')->with($user, UserInterface::PREF_TREE_ROLE)->willReturn(UserInterface::ROLE_MODERATOR);
/webtrees/app/Http/RequestHandlers/
H A DUserEditPage.php101 UserInterface::ROLE_MODERATOR => I18N::translate('Moderator'),
/webtrees/tests/feature/
H A DPrivacy.php61 …$tree->setUserPreference($moderator, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR);
/webtrees/app/Services/
H A DUserService.php227 ->where('user_gedcom_setting.setting_value', '=', UserInterface::ROLE_MODERATOR)
/webtrees/app/
H A DAuth.php94 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_MODERATOR;