Join Slack
Powered by
How can I use the permission model language? I un...
# general
p
polite-traffic-4036
03/29/2024, 10:20 PM
How can I use the permission model language? I understand how to define the namespaces and permissions, but how can i use it then? Do I have to load it somehow into keto? Do I have to use it on the server how can I get this up and running?
b
billions-ocean-16161
03/30/2024, 7:07 AM
Hello Martin, You need to set path to the file in keto config.
https://github.com/ory/keto/blob/master/.schema/config.schema.json#L341
I use a base64-encoded OPL file, so it works for me like this:
Copy code
namespaces: location: "base64://{BASE_64_ENCODED_OPL_CODE}"
p
polite-traffic-4036
03/31/2024, 10:54 AM
Cool thank you! :)
2
Views
Open in Slack
Previous
Next