You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the User Doctrine entity — the application's first persistent
identity — with the minimum set of fields needed by upcoming auth and
authorisation work.
Fields
Field
Type
Purpose
active
bool
Whether the user is enabled.
domainManager
bool
Flag for users with elevated authority within their domain (e.g. a kommune-level admin). Distinct from a global admin role.
name
string
Display name.
The entity will grow (email, credentials, kommune association, …) as
the related issues land — keep this PR focused on the three fields above.
Summary
Add the
UserDoctrine entity — the application's first persistentidentity — with the minimum set of fields needed by upcoming auth and
authorisation work.
Fields
activebooldomainManagerboolnamestringThe entity will grow (email, credentials, kommune association, …) as
the related issues land — keep this PR focused on the three fields above.
Scope
App\Entity\Userundersrc/Entity/.App\Repository\UserRepository.CHANGELOG.mdentry under## [Unreleased]/Added.Out of scope
Anything beyond the three fields above and the bare entity scaffolding.
Related issues
domainManageris the first piece;the broader RBAC model is tracked there).
to User).
administered).
Acceptance
App\Entity\Userexists withactive: bool,domainManager: bool,name: stringand matching getters/setters.App\Repository\UserRepositoryexists.CHANGELOG.mdupdated under## [Unreleased]/Added.