:py:mod:`oioioi.usercontests.auth` ================================== .. py:module:: oioioi.usercontests.auth Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.usercontests.auth.UserContestAuthBackend .. py:class:: UserContestAuthBackend Bases: :py:obj:`object` .. py:attribute:: description .. py:attribute:: supports_authentication :annotation: = False .. py:method:: authenticate(request, **kwargs) .. py:method:: filter_for_perm(obj_class, perm, user) Provides a :class:`django.db.models.Q` expression which can be used to filter `obj_class` queryset for objects `o` such that `has_perm(user, perm, o)` is True. .. py:method:: has_perm(user_obj, perm, obj=None)