def allowed(self, request, ac_name, auth):
if auth and not request.user.is_authenticated():
When set to ``True`` only authenticated users will be able to access this
- choices-set. Defaults to ``False``.
+ choices-set. Defaults to ``False``. For more fine-grained control
+ over access, pass in a callable that accepts a request and returns
+ ``True`` to allow access and ``False`` to deny access.