Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* `importMetaData` bug fix when given duplicate names to exit and warn user properly.
* `redcapUserRoleStructure` allows new `alerts`, `api_modules`, and `data_quality_resolution` attributes.
* `exportUsers` properly handles the columns random_setup, random_dashboard and random_perform.
* `importUsers` data_access_group is no longer excluded from user import. This caused issues with removing DAG assignments on imports.

## DEPRECATION NOTICES

Expand Down
2 changes: 1 addition & 1 deletion R/prepUserImportData.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ prepUserImportData <- function(data,
# Remove fields that cannot be updated

fields_to_remove <- c("email", "lastname", "firstname",
"data_access_group_id", "data_access_group") #?, "data_access_groups")
"data_access_group_id")
data <- data[!names(data) %in% fields_to_remove]

# Convert values to numeric
Expand Down