A couple of hours ago we've released Cerbos v0.29.0. cerbie🎉
You can now define your variables in a dedicated file and import them into any of the other policies to reuse common values and expressions across your policy repo.
Additionally, a new globals object is available to policies at runtime to read environment-specific values. For example, you might want to grant additional permissions to a role in your staging environment, without creating separate policy versions for different environments.
There are some more interesting novelties.
To see all the changes and read full release notes, check https://docs.cerbos.dev/cerbos/latest/releases/v0.29.0.html
07/18/2023, 2:28 PM
While trying the new version, I cannot pass *Regexp filters, because the JS/TS client libraries don’t seem to be updated, they are still 1mo old.
’s only contains 1 property:
07/18/2023, 3:43 PM
Hey @Roman Levytskyi the JS SDK will be released soon. We are just adding some finishing touches to it.