Hi Everyone,
Having a strange issue with the payload 3 beta. I currently have the read access on my collection set to false, but I am still able to access it via the .find function in my frontend.
Not sure if im missing something simple here, but I couldn't find an answer anywhere online.
Any help would be greatly appreciated.
in collection:
access: {
read: () => {
return false
},
},
in frontend component:
const cabinets = await payload.find({
collection: 'cabinets',
depth: 1,
limit: 10,
})