Skip to content

Commit

Permalink
Update config.edn
Browse files Browse the repository at this point in the history
  • Loading branch information
vganshin committed Apr 26, 2023
1 parent ad3bc61 commit c52a639
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions zrc/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
:stdout-pretty true
:disable-legacy-seed true}

admin-seed
admin-user-seed
{:zen/tags #{aidbox/service}
:engine aidbox/seed-v2
:resources
Expand All @@ -67,12 +67,18 @@
:User {:admin
{:password #env AIDBOX_ADMIN_USER_PASSWORD}}

:AccessPolicy {:admin-seed-policy
:AccessPolicy {:allow-admin-user
{:engine "allow"
:link [{:resourceType "User" :id "admin"}
{:resourceType "Client" :id "root"}]}}}}
:link [{:resourceType "User" :id "admin"}]}}}}
root-client-seed
{:zen/tags #{aidbox/service}
:engine aidbox/seed-v2
:resources
{:Client {:root
{:secret #env AIDBOX_ROOT_CLIENT_SECRET
:first_party true
:grant_types ["basic"]}}}

base-box
{:zen/tags #{aidbox/system}
:config zen-config
:services {:seed admin-seed}}}
:AccessPolicy {:allow-root-client
{:engine "allow"
:link [{:resourceType "Client" :id "root"}]}}}}}

0 comments on commit c52a639

Please sign in to comment.