forked from vganshin/aidbox-ui-projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaidbox-resources.yaml
85 lines (84 loc) · 1.33 KB
/
aidbox-resources.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
id: public-ui-chat
resourceType: AccessPolicy
engine: matcho
matcho:
request-method: get
uri:
$one-of:
- "#/ui/chat/.+"
- "/ui/chat"
---
id: ui-chat-user-action
resourceType: AccessPolicy
engine: matcho
matcho:
user:
id: present?
uri:
$one-of:
- "#/ui/chat/.+"
- "/ui/chat"
---
id: ui-user-actions
resourceType: AccessPolicy
engine: matcho
matcho:
uri:
$one-of:
- '#/ui/patients/.+'
- /ui/patients
- '#/ui/forms/.+'
- '#/fhir/Questionnaire.+'
- '#/fhir/QuestionnaireResponse.+'
- '#/Questionnaire.+'
- '#/QuestionnaireResponse.+'
user:
id: present?
---
id: public-ui-auth
resourceType: AccessPolicy
engine: matcho
matcho:
uri: "#/ui/auth/.+"
---
id: public-ui-index
resourceType: AccessPolicy
engine: matcho
matcho:
uri:
$one-of:
- "/"
- "/ui/$dev-mode"
- "/Operation/$changes"
---
id: audit-ui
resourceType: AccessPolicy
engine: matcho
matcho:
user:
role: audit-officer
uri: "#/ui/audit-officer/.+"
---
id: Chat
resourceType: Entity
isOpen: true
type: resource
---
id: ChatMessage
resourceType: Entity
isOpen: true
type: resource
---
id: dr-smith
resourceType: User
password: dr-smith
data:
roleName: doctor
fullName: Dr. Smith
---
id: dr-acorn
resourceType: User
password: dr-acorn
data:
roleName: doctor
fullName: Dr. Acorn