-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from bird-house/magpie-thredds
Magpie protected THREDDS - add custom config to allow display of UI catalog elements of THREDDS service protected behind Magpie/Twitcher - add test notebook that validates protected access of THREDDS files and directories behind Magpie/Twitcher auth - bump Magpie/Twitcher versions aligned with Magpie 3.x to get custom config stored in db and THREDDS service updates Successful build: http://daccs-jenkins.crim.ca/job/PAVICS-e2e-workflow-tests/job/magpie-func-tests/39/
- Loading branch information
Showing
8 changed files
with
159 additions
and
19 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
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
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
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
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
5 changes: 5 additions & 0 deletions
5
birdhouse/optional-components/secure-thredds/docker-compose-extra.yml
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,5 @@ | ||
version: '2.1' | ||
services: | ||
magpie: | ||
volumes: | ||
- ./optional-components/secure-thredds/secure-access-magpie-permission.cfg:/opt/local/src/magpie/config/permissions/secure-access-magpie-permission.cfg:ro |
68 changes: 68 additions & 0 deletions
68
birdhouse/optional-components/secure-thredds/secure-access-magpie-permission.cfg
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,68 @@ | ||
permissions: | ||
# note: | ||
# following permissions can be combined with others such as 'optional-components/all-public-access' | ||
# to provide access to 'everything' except those under 'secure' directories listed below | ||
|
||
# following permissions only enforce security on specific directories and files under it | ||
# these can be reverted or combined with other set of permissions on resources 'above' or 'under' in the hierarchy | ||
# users or groups will need explicit permissions under following resources for them to access sub-directories/files | ||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: browse | ||
access: deny | ||
scope: recursive | ||
group: anonymous | ||
action: create | ||
|
||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: read | ||
access: deny | ||
scope: recursive | ||
group: anonymous | ||
action: create | ||
|
||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: write | ||
access: deny | ||
scope: recursive | ||
group: anonymous | ||
action: create | ||
|
||
# preserve access for test-suite user | ||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: browse | ||
access: allow | ||
scope: recursive | ||
user: authtest | ||
action: create | ||
|
||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: read | ||
access: allow | ||
scope: recursive | ||
user: authtest | ||
action: create | ||
|
||
- service: thredds | ||
resource: /birdhouse/testdata/secure | ||
type: directory | ||
permission: | ||
name: write | ||
access: allow | ||
scope: recursive | ||
user: authtest | ||
action: create |
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