Releases: ocariot/account
Releases · ocariot/account
v2.3.2
New Features:
- Added
children:readAll
scope to Application user.
Refactorings:
- Fixed date validators;
- Improved some error messages;
- Updated versions of the dependencies used in the project.
v2.3.1
New Features:
- Adjustments to the scopes of the QFoodTracking resource;
- Added new scopes:
foodtracking:create
,foodtracking:read
,foodtracking:update
efoodtracking:delete
; - All users have these new scopes.
v2.3.0
New Features:
Removed scopes and added new ones.
-
Admin
- removed: foodrecord:read
- added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:read, habitsquest:read, foodhabitsquest:read, perceptionquest:read
-
Application
- removed: questionnaires:create, questionnaires:read, foodrecord:create, foodrecord:read
- added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:read, habitsquest:read, foodhabitsquest:create, foodhabitsquest:read, perceptionquest:read
-
Child
- removed: questionnaires:create, questionnaires:read, foodrecord:create, foodrecord:read
-
Family
- removed: questionnaires:create, questionnaires:read, questionnaires:update, questionnaires:delete, foodrecord:create, foodrecord:read, foodrecord:update, foodrecord:delete
- added: socioquest:create, socioquest:read, socioquest:update, healthquest:create, healthquest:read, healthquest:update, parentphyquest:create, parentphyquest:read, parentphyquest:update, childrenphyquest:read, habitsquest:create, habitsquest:read, habitsquest:update, foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update, perceptionquest:create, perceptionquest:read, perceptionquest:update
-
Educator
- removed: questionnaires:create, questionnaires:read, questionnaires:update, questionnaires:delete, foodrecord:create, foodrecord:read, foodrecord:update, foodrecord:delete
- added: childrenphyquest:read, habitsquest:create, habitsquest:read, habitsquest:update, foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update, perceptionquest:create, perceptionquest:read, perceptionquest:update, missions:create, missions:update
-
Health Professional
- removed: questionnaires:read, foodrecord:read
- added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:create, childrenphyquest:read, childrenphyquest:update, habitsquest:read, foodhabitsquest:read, perceptionquest:read
v2.2.0
New Features:
- Updated the integer
age
attribute to type String. The attribute receive integer, float oryyyy-mm-dd
; - Added
age_calc_date
attribute; - Updated and added validators for the
age
andage_calc_date
attributes; - Updated and added of integration tests for
age
andage_calc_date
attribute.
Bug Fixes:
- Fixed issue causing client MongoDB to issue warnings about
reconnectTries
andreconnectInterval
options.
v2.1.1
Bug Fixes:
- Fixed bug in providers that returned a maximum of 100 records.
v2.1.0
New Features:
- Added to the child model the attributes
fitbit_status
andcve_status
; - Added handler for
subFitbitRevoke()
event. It sets the child'sfitbit_status
attribute to'none'
; - Updated the handler for the
subFitbitAuthError()
event. Now thefitbit_status
attribute is updated according to the error code received in the event; - Updated the handler for the
subFitbitLastSync()
event to setfitbit_status
attribute to'valid_token'
; - Whitelist removed.
Bug Fixes:
- Fixed bug not returning
last_sync
andlast_login
.
v2.0.8
Bug Fixes:
- Fixed bug with sorting and filtering users by username.
v2.0.7
Bug Fixes:
- Fixed field validations that let null values pass;
- Fixed bug not returning
last_login
andlast_sync
; - Fixed bug in
children
attribute ofFamily
andChildrenGroup
templates that did not validatenull
values; - Fixed bug on users who could update
institution_id
withnul
l value.
v2.0.6
Bug Fixes:
- Bug fix associated with submitting ID in POST of each resource. The ID passed in the body was being considered and this caused error message when it was not expected.
v2.0.5
Bug Fixes:
- Institution model corrected to accept latitude and longitude as number or sequence. Before was blocking valid number.