Skip to content

Commit

Permalink
feat: add default admin access configuration (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim-Gadalov authored Apr 24, 2024
1 parent 7a3937f commit 625869b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/resources/aidial.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@
},
"access": {
"admin": {
"rules": []
"rules": [
{
"function": "CONTAIN",
"source": "roles",
"targets": ["admin"]
}
]
}
}
}

0 comments on commit 625869b

Please sign in to comment.