Replies: 1 comment
-
Great catch!! I just pushed some changes that should enforce auth for site edit/delete, as well as post create/edit/delete. Thank you for the headsup! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that there is no permission checking logic (if the user owns the site) before the operation can be performed.
For example, https://github.com/vercel/platforms/blob/main/lib/api/site.ts#L124 is called by https://github.com/vercel/platforms/blob/main/pages/api/site.ts#L19 directly.
Beta Was this translation helpful? Give feedback.
All reactions