What's Changed
* Allowed permission instance in permissions parameter by eadwinCode in https://github.com/eadwinCode/django-ninja-extra/pull/54
python
from ninja_extra import permissions
you can use instances of permission classes in defining your permissions.
http_get('/sample', permissions=[permissions.IsAuthenticatedOrReadOnly | permissions. IsAuthenticated()])
def sample_endpoint(self):
...
**Full Changelog**: https://github.com/eadwinCode/django-ninja-extra/compare/0.18.6...0.18.7