-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User API Permissions: Restrict based on role #3096
Comments
ErisDS
added a commit
to ErisDS/Ghost
that referenced
this issue
Jul 17, 2014
refs TryGhost#3283, refs TryGhost#2739, refs TryGhost#3096 - Renames permissions which didn't follow bread - Adds permissions for notifications, mail and tags Still todo: - wire up the new permissions where they are needed - add permissions for roles
This was referenced Jul 23, 2014
ErisDS
added a commit
to ErisDS/Ghost
that referenced
this issue
Jul 28, 2014
refs TryGhost#3083, TryGhost#3096 In order to implement advanced permissions based on roles for specific actions, we need to know what role the current context user has and also what action we are granting permissions for: - Permissible gets passed the action type - Effective permissions keeps the user role and eventually passes it to permissible - Fixed spelling - Still needs tests
ErisDS
added a commit
to ErisDS/Ghost
that referenced
this issue
Jul 28, 2014
closes TryGhost#3096, closes TryGhost#3378, refs TryGhost#3100 - user.permissible updated to reflect proper permissions - small amount of API refactoring to handle extra cases - extensive integration testing
This was referenced Mar 11, 2020
This was referenced Sep 12, 2021
This was referenced Mar 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #2264 the permissions for the user API were defined as:
This is not quite correct, and should be:
This is related to #3080 and #3083
The text was updated successfully, but these errors were encountered: