mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
closes https://github.com/TryGhost/Toolbox/issues/351 - When an invalid value was passed in `roles` parameter when editing a user it resulted in incorrect database state (all roles appeared to be unassigned from the user). - The fix includes ability to set user role by an allowed name, one of: 'Administrator', 'Editor', 'Author', 'Contributor'. - Also added a validation in case a non-ObjectID value is passed in roles to the users edit method. |
||
---|---|---|
.. | ||
admin@9db564d1fd | ||
cli | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |