issues Search Results · repo:dfunckt/django-rules language:Python
Filter by
113 results
(86 ms)113 results
indfunckt/django-rules (press backspace or delete to remove)The Django Documentation hyperlink in the using the class based view mixin section is pointing to a non-existent page.
dpgraham4401
- 2
- Opened on Jul 4, 2024
- #191
For business reasons, I want to use a single user.has_perm() for checking if a user has any of the multiple
permissions/conditions combination that could apply. To borrow from the book example, lets say ...
braiam
- Opened on May 27, 2024
- #190
As you can see in the video the object permission in the admin doesn t work correctly
https://github.com/dfunckt/django-rules/assets/53629777/df5bf17e-c32c-41b3-9250-b5278cc16a60
Used package: Django ...
omargawdat
- 1
- Opened on May 23, 2024
- #189
Hi, the master branch has supported Django 5.0 and Python 3.11+ but the latest release is still 2 years ago. Could you
cut a new release?
namoshizun
- 7
- Opened on May 15, 2024
- #187
I ve looked a bit at the source code and predicates don t seem to support this.
In my use case I need to query the database to see if the user has permissions to do something in a Role table, but a
user ...
suspiciousRaccoon
- Opened on Apr 28, 2024
- #186
I am getting this error when trying to access the view list in the admin panel: AttributeError, as no selected provider
is selected when I try to access the providers list!! NoneType object has no attribute ...
omargawdat
- 2
- Opened on Apr 19, 2024
- #185
I m trying to build this permission mapping
| Users | Permissions | Object |
| --- | --- | --- |
| Bob | Can edit book | Lord of the rings |
| Bob | Can edit book | Harry Potter |
| Bob | Can read book ...
realnot
- 1
- Opened on Dec 16, 2022
- #173
Is there a way to create predicate with parameters? For example:
#rules.py
import rules
@rules.predicate
def role_is(user, role_id):
return user.role.id == role_id
rules.add_perm( reports.view_report_abc ...
Real-Gecko
- 2
- Opened on Nov 26, 2022
- #171
Adding django-rules to my Django project I am encountering the following issue: I want to add default permissions to my
abstract base class and overwrite them, if needed. Below an example of a base class ...
creyD
- Opened on Jun 28, 2022
- #170
Since permission_required takes a tuple, I imagined it would follow that which one of the permissions specified failed
would also be available to us. This way, one is able to specify a tailor-made error ...
MaybeThisIsRu
- 1
- Opened on Apr 13, 2022
- #169

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.