Skip to content

Commit

Permalink
Add access policy
Browse files Browse the repository at this point in the history
  • Loading branch information
xamelon committed Dec 29, 2023
1 parent dc64b0a commit 40b1b5d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions aidbox-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ matcho:
- "#/ui/chat/.+"
- "/ui/chat"
---
id: ui-user-actions
resourceType: AccessPolicy
engine: matcho
matcho:
user:
id: present?
uri:
$one-of:
- '#/ui/patients/.+'
- /ui/patients
- '#/ui/forms/.+'
---
id: public-ui-auth
resourceType: AccessPolicy
engine: matcho
Expand Down Expand Up @@ -67,5 +79,3 @@ password: dr-acorn
data:
roleName: doctor
fullName: Dr. Acorn


0 comments on commit 40b1b5d

Please sign in to comment.