Skip to content

Commit f8e7030

Browse files
authored
Merge pull request #496 from vubiostat/user-role
Update new fields to redcapUserRoleStructure
2 parents c971195 + 390a0d2 commit f8e7030

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# redcapAPI (development version)
22

3-
* `exportDags`, `exportFieldNames`, `exportProjectInformation`, `exportReportsTyped`, `importDags`, `writeDataForImport`, and `exportRecordsTYped` now have a `csv_delimiter` parameter to control delimiter utilized.
3+
* `exportDags`, `exportFieldNames`, `exportProjectInformation`, `exportReportsTyped`, `importDags`, `writeDataForImport`, and `exportRecordsTyped` now have a `csv_delimiter` parameter to control delimiter utilized.
44
* `importMetaData` bug fix when given duplicate names to exit and warn user properly.
5+
* `redcapUserRoleStructure` allows new `alerts`, `api_modules`, and `data_quality_resolution` attributes.
56

67
## DEPRECATION NOTICES
78

R/redcapDataStructure.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ redcapUserRoleStructure <- function(version)
401401
data.frame(unique_role_name = character(0),
402402
role_label = character(0),
403403
design = character(0),
404+
alerts = character(0),
404405
user_rights = character(0),
405406
data_access_groups = character(0),
406407
# data_export = character(0),
@@ -415,8 +416,10 @@ redcapUserRoleStructure <- function(version)
415416
file_repository = character(0),
416417
data_quality_create = character(0),
417418
data_quality_execute = character(0),
419+
data_quality_resolution = character(0),
418420
api_export = character(0),
419421
api_import = character(0),
422+
api_modules = if(is.null(version) || utils::compareVersion(version, "14.0.3") < 0) NULL else character(0),
420423
mobile_app = character(0),
421424
mobile_app_download_data = character(0),
422425
record_create = character(0),

0 commit comments

Comments
 (0)