-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
executable file
·158 lines (151 loc) · 3.07 KB
/
config.json
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "Example Module",
"namespace": "Vanderbilt\\ExampleExternalModule",
"authors": [
{
"name": "Mark McEver",
"email": "[email protected]",
"institution": "Vanderbilt University Medical Center"
}
],
"permissions": [
"hook_every_page_top",
"select_data",
"update_data",
"delete_data",
"update_user_permissions"
],
"description": "This module contains example code and configuration for all common External Module functionality to provide module developers working examples. Please add examples here as new External Module features are added!",
"links": {
"control-center": [
{
"name": "My Control Center Menu Link",
"icon": "user",
"url": "system_level_homepage.php"
}
],
"project": [
{
"name": "My Project Menu Link",
"icon": "report",
"url": "project_homepage.php"
}
]
},
"system-settings": [
{
"key": "project-menu-background-css",
"name": "Project Menu Background CSS",
"required": false,
"allow-project-overrides": true,
"type": "text",
"default": "#e2ca9c"
},
{
"key": "preferred-transportation",
"name": "Preferred Method of Transportation",
"required": true,
"allow-project-overrides": false,
"type": "radio",
"default": "car",
"choices": [
{ "value": "car", "name": "Car" },
{ "value": "bus", "name": "Bus" },
{ "value": "bike", "name": "Bicycle" }
]
}
],
"project-settings": [
{
"key": "literate",
"name": "I certify that I am literate",
"required": true,
"type": "checkbox"
},
{
"key": "likes-pizza",
"name": "Do you like pizza?",
"required": false,
"type": "dropdown",
"choices": [
{ "value": "1", "name": "Yes" },
{ "value": "0", "name": "No" }
]
},
{
"key": "pages",
"name": "Any Number of Pages to Look at",
"required": false,
"repeatable": true,
"type": "text"
},
{
"key": "forms",
"name": "Form to act upon",
"required": false,
"repeatable": false,
"type": "form-list"
},
{
"key": "fields",
"name": "Fields to inspect",
"required": false,
"repeatable": true,
"type": "field-list"
},
{
"key": "dags",
"name": "Data Access Groups",
"required": false,
"repeatable": false,
"type": "dag-list"
},
{
"key": "user-roles",
"name": "User Roles",
"required": false,
"repeatable": false,
"type": "user-role-list"
},
{
"key": "users",
"name": "Users",
"required": false,
"repeatable": false,
"type": "user-list"
},
{
"key": "emails",
"name": "Email forms",
"required": true,
"type": "sub-settings",
"repeatable": true,
"sub_settings":[
{
"key": "form-name",
"name": "Form name",
"required": true,
"type": "form-list"
},
{
"key": "email",
"name": "Email Address",
"required": true,
"type": "text"
},
{
"key": "email-subject",
"name": "Email Subject",
"required": true,
"type": "text"
},
{
"key": "email-text",
"name": "Email Text",
"required": true,
"type": "textarea"
}
]
}
]
}