-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into chore/fix_preRelease
- Loading branch information
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
user name, login, authority, role, email, phone, status, phsid, permission set, created, updated, expires, downloader for, downloader for names, downloader for emails | ||
cdis.autotest@gmail.com,cdis.autotest@gmail.com,eRA,Downloader,cdis.autotest@gmail.com,"+(111) 1111111",active,"phs001194","General Research Use",2022-12-09 14:29:32.580,2022-12-10 12:49:58.870,2023-12-09 00:00:00.000,ME,ME ME,cdis.autotest@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Configuring Cascading Authorization for dbGaP Sync Tests | ||
|
||
1. Add the `authentication_file_phs001194.txt` in this directory to the SFTP Server used by the integration test environments. | ||
2. Update the integration test environments' fence-config.yaml to include the `parent_to_child_studies_mapping` for the dbGaP.info configuration for the SFTP Server in Step 1. | ||
3. Run `gen3 kube-setup-fence` so the changes to the fence-config.yaml changes are applied to the cluster. | ||
|
||
fence-config.yaml example: | ||
|
||
``` | ||
dbGaP: | ||
- info: | ||
host: 'sftp.server.example.not-a-real-server.amazonaws.com' | ||
username: 'jenkins-dcp' | ||
password: '' | ||
port: 22 | ||
proxy: 'cloud-proxy.internal.io' | ||
proxy_user: 'sftpuser' | ||
encrypted: false | ||
study_to_resource_namespaces: | ||
'_default': ['/'] | ||
allow_non_dbGaP_whitelist: true | ||
allowed_whitelist_patterns: ['authentication_file_PROJECT-(\d*).(csv|txt)', 'authentication_file_NCI-(\d*).(csv|txt)'] | ||
protocol: 'sftp' | ||
decrypt_key: <redacted> | ||
parse_consent_code: false | ||
parent_to_child_studies_mapping: | ||
'phs001194': ['phs000571'] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters