Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad ListLoad NameLoad Dict Str Str Str NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad keyword Str keyword NameLoad keyword Dict Str Str Str Str NameLoad NameLoad Call NameLoad keyword NameLoad NameLoad keyword Str decorator_list Call NameLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad ListLoad AttributeLoad NameLoad attr Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad keyword Dict Str NameLoad decorator_list Call NameLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad ListLoad AttributeLoad NameLoad attr Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad keyword Dict Str NameLoad decorator_list Call NameLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Str Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad NameLoad NameLoad NameLoad keyword Dict Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list Call NameLoad NameLoad NameLoad
N/A django.conf settings django.contrib.auth.models User django.contrib.auth.decorators login_required django.contrib.contenttypes.models ContentType django.shortcuts get_object_or_404 django.utils.translation ugettext _ django.utils.datastructures MultiValueDictKeyError authority.models Permission authority.views permission_denied transifex.projects.forms ProjectAccessControlForm transifex.projects.models Project transifex.projects.permissions * transifex.projects.permissions.project ProjectPermission transifex.txcommon notifications txnotification transifex.txcommon.decorators one_perm_required_or_403 access_off transifex.txcommon.log logger transifex.txcommon.views permission_denied transifex.txpermissions.views add_permission_or_request approve_permission_request delete_permission_or_request _get_project_and_permission N/A N/A project_slug permission_pk N/A N/A N/A 
    Handler to return a project and a permission instance or a 404 error, based
    on the slugs passed by parameter.
     N/A project N/A get_object_or_404 Project slug project_slug N/A ctype N/A N/A N/A ContentType objects get_for_model Project N/A permission N/A get_object_or_404 Permission object_id N/A project pk content_type ctype id permission_pk N/A N/A project permission N/A project_add_permission N/A N/A request project_slug N/A N/A N/A 
    Return a view with a form for adding a permission for a user.

    This view is an abstraction of a txpermissions.views method to be able to
    apply granular permission on it using a decorator.
     N/A project N/A get_object_or_404 Project slug project_slug N/A N/A N/A username N/A N/A request POST N/A user N/A sendto N/A N/A N/A User objects get username username N/A N/A N/A N/A MultiValueDictKeyError N/A User DoesNotExist N/A N/A sendto None N/A notice N/A type object sendto extra_context project_submit_access_granted project N/A sendto N/A project user_request user_action project sendto N/A request user N/A N/A add_permission_or_request request project view_name project_add_permission approved True extra_context N/A project_permission project project_access_control_form notice True project N/A ProjectAccessControlForm instance project notice template_name projects/project_form_permissions.html N/A N/A access_off permission_denied login_required N/A one_perm_required_or_403 pr_project_add_perm N/A Project slug__exact project_slug project_approve_permission_request N/A N/A request project_slug permission_pk N/A N/A N/A N/A project permission N/A _get_project_and_permission project_slug permission_pk N/A notice N/A type object sendto extra_context project_submit_access_granted project N/A N/A permission user N/A project user_request user_action project N/A permission user N/A request user N/A N/A approve_permission_request request permission extra_context N/A notice notice N/A N/A access_off permission_denied login_required N/A one_perm_required_or_403 pr_project_approve_perm N/A Project slug__exact project_slug project_delete_permission N/A N/A request project_slug permission_pk N/A N/A N/A 
    View for deleting a permission of a user.

    This view is an abstraction of a txpermissions.views method to be able to
    apply granular permission on it using a decorator.
     N/A N/A project permission N/A _get_project_and_permission project_slug permission_pk N/A notice N/A type object sendto extra_context project_submit_access_revoked project N/A N/A permission user N/A project user_request user_action project N/A permission user N/A request user N/A N/A delete_permission_or_request request permission True extra_context N/A notice notice N/A N/A access_off permission_denied login_required N/A one_perm_required_or_403 pr_project_delete_perm N/A Project slug__exact project_slug project_delete_permission_request N/A N/A request project_slug permission_pk N/A N/A N/A 
    View for deleting a request of permission of a user.

    This view is an abstraction of a txpermissions.views method.
     N/A N/A project permission N/A _get_project_and_permission project_slug permission_pk N/A N/A N/A N/A request user id N/A N/A permission user id N/A N/A notice_type project_submit_access_request_withdrawn N/A sendto N/A N/A N/A project maintainers all N/A N/A notice_type project_submit_access_request_denied N/A sendto N/A N/A permission user N/A notice N/A type object sendto extra_context notice_type project sendto N/A project user_request user_action project N/A permission user N/A request user N/A check N/A ProjectPermission N/A request user N/A N/A N/A N/A check maintain project N/A N/A N/A request user has_perm authority.delete_permission N/A N/A N/A request user pk N/A N/A permission creator pk N/A N/A N/A delete_permission_or_request request permission False extra_context N/A notice notice N/A check N/A ProjectPermission N/A request user N/A N/A N/A N/A check maintain project N/A N/A N/A request user has_perm authority.delete_permission N/A N/A N/A request user pk N/A N/A permission creator pk N/A N/A N/A delete_permission_or_request request permission False N/A N/A permission_denied request N/A N/A access_off permission_denied login_required