Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rK38a016cd34a9: User::SERVICE_ROLE for service accounts
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/app/Console/Commands/User/SetRoleCommand.php | ||
---|---|---|
40–41 | I'd remove this check as we have User::setRoleAttribute(). | |
src/app/Observers/UserObserver.php | ||
122 | I'd move it up, removeRelatedObjects() does not make much sense for a service account. | |
src/tests/Feature/Controller/AuthTest.php | ||
212 | We should test what happens with a valid password. |
src/tests/Feature/Controller/AuthTest.php | ||
---|---|---|
208 | getTestUser() has a useful 2nd argument for user properties. |