Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #410 from CSCfi/CSCMETAX-61-load-end-user-access-c…
Browse files Browse the repository at this point in the history
…atalogs-from-app-config

CSCMETAX-61: [REF] Load END_USER_ALLOWED_DATA_CATALOGS from app_confi…
  • Loading branch information
hannu40k authored Jan 15, 2019
2 parents 716b8a0 + 2f6f748 commit 6bba67b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/metax_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,7 @@
]
else:
# allow end users to create catalogrecords only to the following data catalogs
END_USER_ALLOWED_DATA_CATALOGS = [
app_config_dict['IDA_DATACATALOG_IDENTIFIER'],
app_config_dict['ATT_DATACATALOG_IDENTIFIER'],
app_config_dict['LEGACY_DATACATALOG_IDENTIFIER'],
]
END_USER_ALLOWED_DATA_CATALOGS = app_config_dict['END_USER_ALLOWED_DATA_CATALOGS']

# catalogs where uniqueness of dataset pids is not enforced.
LEGACY_CATALOGS = [
Expand Down

0 comments on commit 6bba67b

Please sign in to comment.