dropbox / nsot

Network Source of Truth is an open source IPAM and network inventory database
https://nsot.readthedocs.io
Other
399 stars 66 forks source link

Cannot Add Users from Web Interface #267

Closed remingtonc closed 6 years ago

remingtonc commented 7 years ago

Spun up an instance of NSOT via Docker and manually - in both cases I cannot add users to NSOT after it is provisioned and the superuser has been created.

Order of commands:

Start NSOT docker image. Entry point is: nsot-server --config=/etc/nsot/nsot.conf.py
docker exec -it nsot-dev bash
nsot-server --config=/etc/nsot/nsot.conf.py createsuperuser --email remcampb@cisco.com
Login and attempt to create users. Hangs with loading spinner.
nsot-server init
Still cannot create users.
nsot-server upgrade
Still cannot create users.

Is NSOT fully functional?

jathanism commented 7 years ago

Hi there. NSoT is fully functional, but the web interface is lagging behind in feature development. Sorry about the confusion. The /users landing page currently does nothing! :(

For now you can use the built-in Django admin dashboard to manually add users found at the /admin URL (e.g. http://localhost:8990/admin).

Otherwise, if you're using NSoT with an authenticating proxy that is setting the authenticating header with the email of the incoming user, that user will automatically be created in NSoT. See: http://nsot.readthedocs.io/en/latest/api/rest.html#user-authentication-header

jathanism commented 7 years ago

Taking this as a note to fix the documentation to include something about this...

jathanism commented 6 years ago

This is also a bug, because the /users page shouldn't even exist if it doesn't do anything. It should be comment out until a page is added for it.