Skip to main content

Timeline for Django rules object permissions

Current License: CC BY-SA 4.0

13 events
when toggle format what by license comment
S Oct 14, 2018 at 9:00 history bounty ended CommunityBot
S Oct 14, 2018 at 9:00 history notice removed CommunityBot
Oct 13, 2018 at 7:36 comment added Kamil Niski @BluE any news? Were you able to find the problem?
Oct 11, 2018 at 9:14 comment added Kamil Niski Yes, I used exactly the same versions of libraries as you specified
Oct 11, 2018 at 8:34 comment added Tigerware @KamilNiski I will update the question after work today to add the requested information. Quick question: Were you using the same django version, when you tried the example?
Oct 10, 2018 at 19:46 comment added Kamil Niski @BluE I'm trying to solve your issue but everything works for me just fine. I used testapp to debug it and still cannot reproduce your issue. Could you provide whole files where you use ObjectPermissionsModelAdmin and add_perm with predicate? Take a look also on github.com/dfunckt/django-rules/blob/v2.0.0/tests/testapp/… Try to compare your code with that from the repo.
Oct 7, 2018 at 7:51 answer added Kamil Niski timeline score: 8
S Oct 6, 2018 at 7:14 history bounty started Tigerware
S Oct 6, 2018 at 7:14 history notice added Tigerware Authoritative reference needed
Sep 22, 2018 at 10:05 comment added Tigerware Thanks for your comment, but I have the problem with all 4 permissions. I replaced add_book in the question with the view_book permission to clarify.
Sep 22, 2018 at 10:04 history edited Tigerware CC BY-SA 4.0
replaced add_book with view_book
Sep 22, 2018 at 9:54 comment added willeM_ Van Onsem Well at that moment the book does not exists yet. add_book is the permission to add a book, not to "save" the book. I think you should handle this in the form (or even in the form just "inject" the user, such that he/she can simply never add other data).
Sep 22, 2018 at 9:49 history asked Tigerware CC BY-SA 4.0