Releases: matthewhartstonge/storage
Releases · matthewhartstonge/storage
v0.5.0
- Opened the user model up to accept passwords via JSON/XML payloads.
Ensure that on all API routes, if using the model directly, to either cast attributes to a response struct that does
not contain a password attribute or clear out the password field before sending the response.
v0.4.4
- Added error for conflicting user accounts on creation based on username
v0.4.3
- Fixed a filtering case where organisation_id had not been changed to tenantIDs
- Fixes a couple of testcases
v0.4.2
- Adds user account disabled boolean.
- Adds user methods to check for equality and emptiness.
v0.4.0
- Removes user organisationID.
- Adds tenantIDs to the user model to enable multi-tenanted applications
v0.3.2
- Updates Storer interface to include the now existing concrete implementations of
RevokeRefreshTokenandRevokeAccessToken - Adds an edge case test for a single hostname in hostnames
v0.3.1
Bugfixes:
- Users
- Fixes an issue in GetUser() where error checking
err != mgo.ErrNotFoundshould have beenerr == mgo.ErrNotFound - Fixes error handling being over generous with multi-returns of
errors.withstack(errors.withstack(...))
- Fixes an issue in GetUser() where error checking
0.3.0
Adds support for fosite v0.9.0
v0.2.1
Fixes bug related to findSessionBySignature where mgo requires a MongoRequest struct that has been malloc'd
v0.2.0
Make all marshalling conform to JS/JSON camelCase convention