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
feat(auth): implement user creation and update logic in registry
Adds and refactors data operations for the user model.
- Create: A new entry in _itemCreators is added for 'user', enabling user creation through the generic data endpoint.
- Update: The updater for 'user' is refactored to be more secure and flexible. It now accepts a raw Map<String, dynamic> from the request body and selectively applies changes for appRole, dashboardRole, and feedDecoratorStatus.
This approach prevents mass assignment vulnerabilities while allowing both admins and users to perform their permitted updates.
0 commit comments