natcap / data.naturalcapitalproject.stanford.edu

Scripts and images to run CKAN using Docker Compose
0 stars 1 forks source link

Disable anonymous user creation #17

Closed phargogh closed 10 months ago

phargogh commented 10 months ago

I don't think we want anyone on the internet to be able to create an account, so disable this feature. Hopefully this can be done in the settings.

phargogh commented 10 months ago

Anonymous user creation is now disabled via these settings in the .env file:

+
+# Disable anonymous user creation
+CKAN__AUTH__CREATE_USER_VIA_WEB=false
+
+# Anon users cannot view user details
+CKAN__AUTH__PUBLIC_USER_DETAILS=false

Users must now be created by API calls from existing users.