Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

API Authorization and User Roles

malakai97 edited this page Mar 14, 2015 · 2 revisions

DPN-REST Implementation

Individual users should be created through the Django admin backend 'User' section.

  • Each user should be added to the appropriate Group ('api_users' or 'api_admins')
  • Each user should be assigned to the appropriate node in their user profile to properly filter returns to only their node. While editing the user (after creating them), click on the Profile section and select the proper Node.
  • Any user that will query the API needs to have a token created for it (No token is created by default for security reasons). Do this through the Admin Interface 'Token' section.

Clone this wiki locally