0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/routes/settings
Alan Richards dacd1060ee Settings screens redirect for certain roles
Closes #3291
- Adds redirects based on roles as defined in the case
- Adds new mixin `CurrentUserSettings`
- For authors, all settings pages redirect to `users/self`
- For editors, all settings pages other than specific users redirect to `users`. Any user that is not self or an author redirects to `users`
2014-07-30 00:57:16 -07:00
..
users Settings screens redirect for certain roles 2014-07-30 00:57:16 -07:00
apps.js Settings screens redirect for certain roles 2014-07-30 00:57:16 -07:00
general.js Settings screens redirect for certain roles 2014-07-30 00:57:16 -07:00
index.js Settings screens redirect for certain roles 2014-07-30 00:57:16 -07:00
users.js Settings screens redirect for certain roles 2014-07-30 00:57:16 -07:00