/webtrees/tests/app/ |
H A D | TreeTest.php | 103 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 116 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 136 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 149 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 169 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 182 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 202 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 215 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 282 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
/webtrees/tests/app/Http/Middleware/ |
H A D | AuthAdministratorTest.php | 42 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('1'); 61 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('');
|
H A D | AuthModeratorTest.php | 43 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn(''); 65 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('');
|
H A D | AuthMemberTest.php | 43 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn(''); 65 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('');
|
H A D | AuthEditorTest.php | 43 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn(''); 65 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('');
|
H A D | AuthManagerTest.php | 43 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn(''); 65 $user->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willReturn('');
|
/webtrees/tests/feature/ |
H A D | EmbeddedVariablesTest.php | 111 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); 156 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
/webtrees/app/Contracts/ |
H A D | UserInterface.php | 31 public const PREF_IS_ADMINISTRATOR = 'canadmin'; define
|
/webtrees/app/Http/RequestHandlers/ |
H A D | AccountDelete.php | 61 … if ($user instanceof User && $user->getPreference(UserInterface::PREF_IS_ADMINISTRATOR) !== '1') {
|
H A D | AccountEdit.php | 85 $show_delete_option = $user->getPreference(UserInterface::PREF_IS_ADMINISTRATOR) !== '1';
|
/webtrees/tests/app/Http/RequestHandlers/ |
H A D | DeleteUserTest.php | 73 …ects($this->once())->method('getPreference')->with(UserInterface::PREF_IS_ADMINISTRATOR)->willRetu…
|
/webtrees/tests/app/Module/ |
H A D | FamilyGroupReportModuleTest.php | 94 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | BirthReportModuleTest.php | 94 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | MissingFactsReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | OccupationReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | MarriageReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | DeathReportModuleTest.php | 94 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | FactSourcesReportModuleTest.php | 94 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | PedigreeReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | RelatedIndividualsReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | CemeteryReportModuleTest.php | 94 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | IndividualReportModuleTest.php | 92 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | AhnentafelReportModuleTest.php | 95 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | DescendancyReportModuleTest.php | 95 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|
H A D | IndividualFamiliesReportModuleTest.php | 95 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
|