0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/models
Jason Williams 8a2d50b871 Improve handling of users and roles in admin
Closes #3083 Refs #3229
- Populates the dropdown list in the invite user menu with the
  list of roles a user is permitted to create.
- Users API now checks the invite user request for allowed roles.
- Change API response from 200 to 201 on successful invitation.
- Change API response from 500 to 201 when the user was created but
  the email was not sent.  The client will show a warning notification
  when it sees 'invite-pending' as the new user's status.
- Add support for "?status=all" to the /users endpoint.
- Refactor the route and controller for the /settings/users page so
  that there's only one network API call to load users instead of two.
2014-07-24 14:20:47 +00:00
..
accesstoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
app.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appField.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appSetting.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
base.js Fix incorrect error 2014-07-24 10:17:10 +02:00
basetoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
client.js Extending context concept to models 2014-07-18 15:32:56 +01:00
index.js Server side cleanup 2014-07-14 21:50:12 +01:00
permission.js Extending context concept to models 2014-07-18 15:32:56 +01:00
post.js Add edit roles 2014-07-21 22:50:43 +02:00
refreshtoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
role.js Added /roles/ API endpoint 2014-07-21 15:02:25 +01:00
settings.js Extending context concept to models 2014-07-18 15:32:56 +01:00
tag.js Extending context concept to models 2014-07-18 15:32:56 +01:00
user.js Improve handling of users and roles in admin 2014-07-24 14:20:47 +00:00