Files
mayan-edms/mayan/apps
Roberto Rosario 5d7f810477 Refactor the access control computation
Rewrite the ACL queryset filtering to move most of the
computation to the database manager view the ORM.

Add support for cascading access control checking.

Update the .check_access() method to work as a front
end of the new .restrict_queryset method. The workflow
for access control now follow Django convention of
first generating a queryset and then attempt to .get()
the desired element of the queryset.

This update also allows restricting a queryset by related
fields which can be Generic Foreign Keys.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2019-01-19 00:05:21 -04:00
..
2019-01-02 03:46:14 -04:00
2019-01-03 14:49:48 -04:00
2019-01-02 14:46:41 -04:00
2018-12-27 05:45:01 -04:00
2018-12-24 04:31:20 -04:00
2018-12-27 05:45:01 -04:00
2018-12-22 05:35:31 -04:00
2018-12-29 04:47:40 -04:00
2019-01-14 00:03:26 -04:00
2019-01-03 14:49:48 -04:00
2018-12-26 06:09:48 -04:00
2018-12-05 02:04:20 -04:00