feature: permissions
Closes #3 (closed)
@Marjolaine I've set up the test package here
Have a look at the files runner.py
and tests_permissions.py
, I left comments giving a tutorial on how django tests work :)
To run locally we need to point our local DjangoLDP server to our local djangoldp_energiepartagee
by using symlinks. We also need to run the version of DjangoLDPv2.1 which is in https://git.startinblox.com/djangoldp-packages/djangoldp/tree/305-permissions-refactor. To do this we need to clone the branch locally and symlink to it in the local server as well
Next steps is to write the tests ! Good examples can be found in djangoldp_circle
and in djangoldp.tests.tests_get