nnseva / django-access

Django-Access - the application introducing dynamic evaluation-based instance-level (row-level) access rights control for Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filter truth values from plugin callbacks

nnseva opened this issue · comments

Happens frequently that the plugin method returns truth value instead of a dictionary from check_ calls. The SimpleCheckPlugin now filters such a return.

It is useful to filter such truth values everywhere allowing users to return simple value from the plugin to exclude frequent misusing of the package.