Skip to content

Commit

Permalink
Merge pull request #1070 from GSA/disable-new-dataset-creation
Browse files Browse the repository at this point in the history
Disable new dataset creation
  • Loading branch information
btylerburton authored Sep 11, 2023
2 parents 2c361bd + 3197653 commit 166ff64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ charset-normalizer==3.2.0
ckan==2.10.1
-e git+https://github.com/ckan/ckanext-archiver.git@cbfadf9fbf10405958fdef9f77a7faedc05aa20b#egg=ckanext_archiver
ckanext-datagovcatalog==0.1.0
ckanext-datagovtheme==0.2.3
ckanext-datagovtheme==0.2.4
ckanext-datajson==0.1.21
ckanext-dcat @ git+https://github.com/ckan/ckanext-dcat@008a3e2f22a352d7ded9dd988dc69e654f58cd87
ckanext-envvars==0.0.3
Expand Down
5 changes: 5 additions & 0 deletions proxy/nginx-common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,8 @@ error_page 500 502 503 504 /500.html;
location = /500.html {
root ./public;
}

# prevent users from accessing '/dataset/new' route
location = /dataset/new {
deny all;
}

0 comments on commit 166ff64

Please sign in to comment.