-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
138 lines (138 loc) · 5.99 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
{
"name": "CAS Authenticator",
"namespace": "YaleREDCap\\CASAuthenticator",
"description": "This External Module enables the integration of CAS authentication in any survey, public report, or public dashboard.",
"authors": [
{
"name": "Andrew Poppe",
"email": "[email protected]",
"institution": "Yale Center for Clinical Investigation"
}
],
"system-settings": [
{
"key": "cas-host",
"name": "<strong>Full Hostname of your CAS Server</strong>:<br>e.g., secure.its.yale.edu",
"required": true,
"type": "text"
},
{
"key": "cas-context",
"name": "<strong>Context of the CAS Server</strong>:<br>e.g., /cas",
"required": true,
"type": "text"
},
{
"key": "cas-port",
"name": "<strong>Port of your CAS server</strong>:<br>Normally for a https server it's 443",
"required": true,
"type": "text"
},
{
"key": "cas-server-ca-cert-pem",
"name": "<strong>CA cert pem file</strong>:<br>e.g., cacert.pem",
"type": "file"
},
{
"key": "server-force-https",
"name": "<strong>HTTPS Override</strong>:<br>Check this if you experience the CAS server redirecting to http despite your REDCap server using https protocol",
"type": "checkbox"
}
],
"project-settings": [
{
"key": "general-descriptive",
"name": "<div class='cas-descriptive p-2' style='background-color:LightGoldenRodYellow; border: 1px solid Khaki; border-radius: 0.375rem; text-align: center;'><strong>General Settings</strong></div>",
"type": "descriptive"
},
{
"key": "logging",
"name": "<strong>Enable logging</strong>:<br>Check this if you want to log CAS authentication events",
"type": "checkbox"
},
{
"key": "survey-descriptive",
"name": "<div class='cas-descriptive p-2' style='background-color:lightgreen; border: 1px solid limegreen; border-radius: 0.375rem; text-align: center;'><strong>Surveys</strong><br>Select surveys to add CAS to<br><em>Note: this setting has no effect if surveys are disabled</em></div>",
"type": "descriptive"
},
{
"key": "survey-subsettings",
"name": "<strong>Select survey</strong>",
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"key": "event",
"name": "<strong>Event</strong>:<br>Leave blank if not applicable or if CAS should apply to the chosen survey across all events",
"required": false,
"type": "event-list",
"autocomplete": true
},
{
"key": "survey",
"name": "<strong>Survey</strong>",
"required": false,
"type": "dropdown",
"autocomplete": true
},
{
"key": "id-field",
"name": "<strong>ID Field</strong>:<br>If you want to store the id of the person who logged in with CAS, select the field to store it here (it should be a text input field on the same survey)",
"required": false,
"type": "field-list",
"autocomplete": true
}
]
},
{
"key": "report-descriptive",
"name": "<div class='cas-descriptive p-2' style='background-color:lightsalmon; border: 1px solid salmon; border-radius: 0.375rem; text-align: center;'><strong>Reports</strong><br>Select public reports to add CAS to<br><em>Note: this setting has no effect if sharing reports publicly is disabled</em></div>",
"type": "descriptive"
},
{
"key": "report",
"name": "<strong>Report</strong>",
"type": "dropdown",
"repeatable": true,
"autocomplete": true
},
{
"key": "dashboard-descriptive",
"name": "<div class='cas-descriptive p-2' style='background-color:lightskyblue; border: 1px solid deepskyblue; border-radius: 0.375rem; text-align: center;'><strong>Dashboards</strong><br>Select public dashboards to add CAS to<br><em>Note: this setting has no effect if sharing dashboards publicly is disabled</em></div>",
"type": "descriptive"
},
{
"key": "dashboard",
"name": "<strong>Dashboard</strong>",
"type": "dropdown",
"repeatable": true,
"autocomplete": true
},
{
"key": "file-repository-descriptive",
"name": "<div class='cas-descriptive p-2' style='background-color:plum; border: 1px solid purple; border-radius: 0.375rem; text-align: center;'><strong>File Repository</strong><br>Select files and/or entire folders from the file repository to add CAS to.<br><em>Note: this setting has no effect if sharing files publicly is disabled</em></div>",
"type": "descriptive"
},
{
"key": "file",
"name": "<strong>File</strong><br>Choose any file from the file repository",
"type": "dropdown",
"repeatable": true,
"autocomplete": true
},
{
"key": "folder",
"name": "<strong>Folder</strong><br>Choose any folder from the file repository. All files in the folder will be protected by CAS when shared publicly",
"type": "dropdown",
"repeatable": true,
"autocomplete": true
}
],
"framework-version": 12,
"compatibility": {
"redcap-version-min": "13.1.27",
"redcap-version-max": "",
"php-version-min": "7.4.00",
"php-version-max": "8.3.99"
}
}