django-rules icon indicating copy to clipboard operation
django-rules copied to clipboard

Awesome Django authorization, without the database

Results 47 django-rules issues
Sort by recently updated
recently updated
newest added

This pull request is for #130 Note: cannot be merged until (and if) https://code.djangoproject.com/ticket/32255 will be accepted. Changes are minimal but seems to work. Sorry for the imports... Looks like...

It would be really cool to have, in the predicates, an optional "site" parameter to easily integrate with the django.contrib.sites framework

Adding a model class in the unit tests, users seem to get permissions they should not have. See the following commit on my forked project: https://github.com/rjekker/django-rules/commit/27179a1303074fce675e2bc2558c0cdd0b70d6f7 I create a new...

Hello ! As I was using `django-rules` in a project, I need to use different permissions for the same view, depending on the method used. My use case is very...

Hello, When adding a non-standard non-detail extra action to a viewset, the "AutoRulesPermissionViewSetMixin" raises an assertion error. Note that it only occurs if you map a post action to an...

I'm using django-rest-framework and in a template I want to limit what a user can do by showing or not showing according action (a button) based on users permissions. It's...

This is a small patch to make rules a bit more compatible with DRF. See also https://github.com/highpost/rules_test

Thanks for the great library! I love the philosophy to use rules written in simple python functions over database tables. I ran into [a few troubles](https://github.com/yunity/foodsaving-backend/issues/353#issuecomment-326593345) trying to integrate it...

enhancement

I meant to respond to PRs #99 and #100 sooner, but it took a lot more work to get that done. In the end I wrote a lot of pytests...