getFullOrganization Returns Data for Non-Members
I have two functions for listing organizations and getting one by slug
Calling them on a simple
layout.tsx
returns data for the user if they guess the right slug, even if they're not a member of the organization. I would have thought it would error or throw unauth/forbidden? I could of course guard around it on my side but just assume it would be the default.
console logs
0 Replies