Skip to content
h0pbeat edited this page Sep 1, 2013 · 4 revisions

Adding to whitelist

On the platform production server change user to deployment user (e.g. sensibleDTU). Go to /platform_dir/service_manager/ (e.g. /home/sensibleDTU/sensible-data-platform/SensibleData-Platform/sensible_data_platform/service_manager/).

Whitelist is based on the service name and has a form of .json array of allowed users. The code and logic responsible for interpreting the file is in whitelist.py.

To add/remove user to the whitelist, edit proper SECURE_SERVICE_whitelist file (e.g. SECURE_SensibleDTU_whitelist).

Keep it a proper json file (it is interpreted by json.loads()).

Resetting user password

Currently we don't have a proper user reset/change password system in place (see https://github.com/MIT-Model-Open-Data-and-Identity-System/SensibleData-Platform/issues/19)

To manually change user password, login into django admin panel (e.g. https://www.sensible.dtu.dk/sensible-data/admin/).

Find user by name/email. In the password field click Raw passwords are not stored, so there is no way to see this user's password, but you can change the password using this form.

Put in a password (e.g. generated with random.org) and send it to user (also mentioning the username they have).

Clone this wiki locally