express-user
Advanced tools
Comparing version 0.0.1-alpha.14 to 0.0.1-alpha.15
@@ -304,7 +304,7 @@ //Copyright (c) 2015 Eric Vallee <eric_vallee2003@yahoo.ca> | ||
Router.patch('/User/Self', MainRoutes.UserPATCH(UserStore)); | ||
Router.post('/User/Self/:SetField', MainRoutes.UserPATCH(UserStore)); | ||
Router.post('/User/Self/Recovery/:SetField', MainRoutes.UserPATCH(UserStore)); | ||
Router.delete('/User/Self', MainRoutes.UserDELETE(UserStore)); | ||
Router.get('/User/Self', MainRoutes.UserGET(UserStore)); | ||
Router.get('/Users/:Field/:ID/Count', MainRoutes.UsersCountGET(UserStore)); | ||
Router.post('/User/:Field/:ID/:SetField', MainRoutes.UserPATCH(UserStore)); | ||
Router.post('/User/:Field/:ID/Recovery/:SetField', MainRoutes.UserPATCH(UserStore)); | ||
@@ -311,0 +311,0 @@ Router.put('/User/Self/Memberships/:Membership', MainRoutes.UserMembershipsPUT(UserStore)); |
{ | ||
"name": "express-user", | ||
"version": "0.0.1-alpha.14", | ||
"version": "0.0.1-alpha.15", | ||
"description": "Ressource Oriented Express Middleware to Manage Users.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -35,4 +35,4 @@ Express-User | ||
- DELETE /User/Self/Memberships/:Membership -> Remove Membership to the list of an account's memberships (using session to identify the account) | ||
- POST /User/Self/:SetField -> Generate a value (probably random) for the field designed by SetField for the logged in user. | ||
- POST /User/:Field/:ID/:SetField -> Generate a value (probably random) for the field designed by SetField for the user identified with the value ID of Field. Useful to recover password or email token. | ||
- POST /User/Self/Recovery/:SetField -> Internally behaves like PATCH /User/Self, but gives validator a recognisable route to perform recovery behavior and validation (including access control) on the 'SetField' field. | ||
- POST /User/:Field/:ID/Recovery/:SetField -> Internally behaves like PATCH /User/:Field/:ID (minus the admin access restriction), but gives validator a recognisable route to perform recovery behavior and validation (including access control) on the 'SetField' field. | ||
@@ -272,1 +272,6 @@ 2) Admin URLs: | ||
- Removed GetSerializer and CountSerialized constructor options. Moved them to Responder. | ||
0.0.1-alpha.15 | ||
-------------- | ||
- Changed POST /User/Self/:SetField and POST /User/:Field/:ID/:SetField routes to more semantically meaningful POST /User/Self/Recovery/:SetField and POST /User/:Field/:ID/Recovery/:SetField |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74590
276