-
Notifications
You must be signed in to change notification settings - Fork 40
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
Remove notifications related permissions #316
Milestone
Comments
mathiashoeld
added a commit
that referenced
this issue
Jun 17, 2019
Every user should be able to: - Read their own notifications - Mark their own notifications as read Currently it's not possible to list another user's notifications, so there is no need to check any permissions related to notifications. Therefore they are removed from the list of intents and the documentation. Closes #316
mathiashoeld
added a commit
that referenced
this issue
Jun 17, 2019
Every user should be able to: - Read their own notifications - Mark their own notifications as read Currently it's not possible to list another user's notifications, so there is no need to check any permissions related to notifications. Therefore they are removed from the list of intents and the documentation. Closes #316
mathiashoeld
added a commit
that referenced
this issue
Jun 17, 2019
Every user should be able to: - Read their own notifications - Mark their own notifications as read Currently it's not possible to list another user's notifications, so there is no need to check any permissions related to notifications. Therefore they are removed from the list of intents and the documentation. Closes #316
mathiashoeld
added a commit
that referenced
this issue
Jun 17, 2019
Every user should be able to: - Read their own notifications - Mark their own notifications as read Currently it's not possible to list another user's notifications, so there is no need to check any permissions related to notifications. Therefore they are removed from the list of intents and the documentation. Closes #316
mathiashoeld
added a commit
that referenced
this issue
Jun 17, 2019
Every user should be able to: - Read their own notifications - Mark their own notifications as read Currently it's not possible to list another user's notifications, so there is no need to check any permissions related to notifications. Therefore they are removed from the list of intents and the documentation. Closes #316
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
intents.ts
those three lines + related permission checks should be removed:Reason: a user should always be allowed to list his/her own notifications. Indeed, the corresponding endpoint doesn't even allow to list another user's notifications. Furthermore, a user should always be allowed to mark his/her own notifications as "read" and we can't think of a reason why a user would ever need to mark another user's notifications as read.
The text was updated successfully, but these errors were encountered: