-
-
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
Additional permissions #2739
Comments
I am having trouble with the Notification permissions. Once we have multi-user I think it is more than likely that apps would want to show persistent notifications (“Your article foo was published by $editor”). This would mean that notifications need to relate to a certain user. This user should then be allowed to delete the notification (so Admin + me). Considering the “Please set up an email transport” notification on startup: A notification should only be shown for users in a certain role (in this case only for Admins) - an editor / author would not care about the notification (are they allowed to delete it though?). I think a similar permission issue may arise with posts: Is an author allowed to delete his own posts (right now the answer is no)? What does an author do when he accidentally created a post - call an editor? I think it would be beneficial to introduce a |
This is already implemented and working (see #2264). An author is allowed to browse, read, edit and delete posts if |
Additional permissions:
|
I think the forgotten password email should count as an internal request? |
Yeah I was thinking the same, otherwise everyone would be able to send emails from your blog. I would introduce a new mail API method ( |
Why another API method? Can’t we reuse the existing one with |
Whatever you like best :-). |
Also moving to MU as it is more relevant there. |
I made a wiki page to cover all the various permissions: https://github.com/TryGhost/Ghost/wiki/User-Roles-&-Permissions |
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
closes TryGhost#2739 - wraps the api endpoints for mail, notifications, and tags in a canThis check - add internal context to internal calls - updates tests
Related to #2600 and #2264:
003 needs to contain some additional permissions:
I suggest the following:
Tag
Notification
*add should probably be possible as an internal thing
Mail
The text was updated successfully, but these errors were encountered: