astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

chore(backend): preparatory work for licenses #53

Closed allynt closed 4 years ago

allynt commented 4 years ago
allynt commented 4 years ago

For the reviewer...

This is the first of several commits to django-astrosat-users that is required for all of the Orb & License additions to orbis.

This one is fairly trivial. I removed an unneeded UserRole relationship w/ Customer (we will be using licenses to restrict data access, not roles). I removed the ContextVariableDefault class b/c it's now defined in django-astrosat-core. I added a simple update function to the CustomerUserSerializer to cope w/ writeable nested serializers. And I uncommented out some code.