Slackbot
07/26/2023, 3:18 AMOr Weis
07/26/2023, 4:18 AMOscar
07/26/2023, 4:26 AMOPAL_POLICY_REPO_URL
to load data and policy. How to connect database?Or Weis
07/26/2023, 4:28 AMdata.roles
come from git (i.e. /roles/data.json
) but data.users
come from a DB.Oscar
07/26/2023, 4:32 AM{
"user_roles": {
"alice": [
"admin"
],
"bob": [
"employee",
"billing"
],......
"role_grants": {
"customer": [
{
"action": "read",
"type": "dog"
},......
],
"employee": [
{
"action": "read",
"type": "dog"
},......
],
"billing": [
{
"action": "read",
"type": "finance"
},.....
]
}
}
Oscar
07/26/2023, 5:56 AMOPAL_POLICY_REPO_URL
or OPAL_DATA_CONFIG_SOURCES
? Or something like data source?Or Weis
07/26/2023, 6:08 AMOscar
07/26/2023, 6:08 AM