areyal
areyal
I have been observed this behaviour. The objects retrieved with .get (anyprimarykey=x) result in wrong partition key assignment, which copies the searched primary key value, and the real partition key...
This change works for me, but it is a bit rough. Just check permissions `..or (not request.user.has_perm('guardian.view_userobjectpermission') and not request.user.has_perm('guardian.view_groupobjectpermission'))` A complete solution would provide a modified template and show...
Pull request done. I will not close this issue since I don't now if closing it is up to me. Regards.
Just to share my opinion, this is a security problem in Django admin, unrelated to the deliberated design of guardián about enforcing the permisión management on the final application. These...
I support your effort to maintain backwards compatibility. If you agree, I could make a PR in order to: - Add a second mixin `ReinforcedGuardedModelAdminMixin`? with the changes - As...
Hi, just to say thanks, and to indicate that this problem didn't exist for my app with django 3.0. Upgrading to django 3.1 showed this up.
I'm facing some problems with duplicated annotations in your solution. To solve it, i've used this code instead yours in managers.InheritanceQuerySetManager.annotate: ``` annlist = [a.default_alias for a in args] +...