SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 283 TypeScript

chore(examples): fix read permission in auth example (#12403)

The return value of the `adminsAndUser` method was not a proper Query to
limit the read scope of the read access. So users could read all user
data of the system.

Alongside I streamlined the type imports (fixes #12323) and fixed some
typescript typings. And aligned the export of the mentioned to align
with the other access methods.
R
Rémy committed
cceb79325754a3726469bcbb366323e5035ee4c3
Parent: 1b1e36e
Committed by GitHub <noreply@github.com> on 5/22/2025, 5:46:27 PM