I'm trying to implement
locale
based RBAC. Basically, I want certain fields to be edited only on one locale for example config related fields however the
req.locale
is always
en (default locale)
. How do I get the current locale? 🤔
Hi @John, this issue was recently fixed. If you have already migrated to 2.0, you can upgrade to v2.2.0 to fix this! Let us know if you have any further questions or issues.
:payloadlove:
Star
Discord
online
Get dedicated engineering support directly from the Payload team.