nearform / udaru

Open source Access Manager for node.js
https://nearform.github.io/udaru
MIT License
124 stars 19 forks source link

policy assignment must use objects #535

Closed cianfoley-nearform closed 6 years ago

cianfoley-nearform commented 6 years ago

lots of test updates because of one small validation change...

here we are enforcing the use of an object when associating policies as we would if creating a policy instance. Essentially associating a policy with an udaru entity is a policy instance with no variables set anyway, so here we re-use the same object for associating both

swagger documentation is now free of generic objects and does not default to string under POST/PUTs under each entity type.

This is the issue this is addressing: https://github.com/nearform/udaru/issues/522

readme may need to be updated

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.02%) to 92.985% when pulling ae0064f0487832352d6cf57388f5a42add069ac5 on remove-joi-alternatives into 36aec3a233990c8adb5aa85f9a94187f5afac1d3 on master.