Open nkgentile opened 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
performance-studio | ✅ Ready (Inspect) | Visit Preview | May 16, 2024 11:31am | |
test-next-studio | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 16, 2024 11:31am |
@nkgentile is attempting to deploy a commit to the Sanity Team on Vercel.
A member of the Team first needs to authorize it.
Description
When authenticating a user, the auth store will now also check that they have grants on the workspace's dataset.
What to review
This change affects workspace authentication. Entering or switching workspaces will make an additional check for the user's dataset grants.
Testing
I didn't add a test, since there aren't any existing test cases for this feature.
Notes for release
When authorizing a user, also check that they have dataset grants in the active workspace.