Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Pass decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assert Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assert UnaryOpNot Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assert Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assert Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assert UnaryOpNot Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad Call NameLoad attr Str Assert UnaryOpNot Call AttributeLoad Call Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assert CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assert CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Str Str Assign AttributeStore NameLoad attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Str Str Assign AttributeStore NameLoad attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assert Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assert Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A django.contrib.auth.models AnonymousUser django.test RequestFactory mock Mock rest_framework.authentication SessionAuthentication rest_framework.permissions AllowAny BasePermission rest_framework.response Response rest_framework.views APIView olympia.access.models Group GroupUser olympia.addons.models Addon olympia.api.permissions AllowAddonAuthor AllowReadOnlyIfPublicAndListed AllowReviewer AllowReviewerUnlisted AnyOf GroupPermission olympia.amo.tests TestCase WithDynamicEndpoints olympia.users.models UserProfile ProtectedView N/A APIView N/A N/A authentication_classes N/A SessionAuthentication N/A permission_classes N/A N/A GroupPermission SomeRealm SomePermission get N/A N/A self request N/A N/A N/A N/A Response ok N/A N/A AllowNone N/A BasePermission N/A N/A A permission class that never allows access, for testing. has_permission N/A N/A self request view N/A N/A N/A False N/A has_object_permission N/A N/A self request view obj N/A N/A N/A False N/A N/A myview N/A N/A N/A args kwargs N/A N/A N/A TestGroupPermissionOnView N/A WithDynamicEndpoints N/A N/A fixtures N/A base/users setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestGroupPermissionOnView self setUp N/A N/A N/A self endpoint ProtectedView N/A N/A self url /en-US/firefox/dynamic-endpoint N/A email regular@mozilla.com N/A N/A self user N/A N/A N/A UserProfile objects get email email N/A group N/A N/A N/A Group objects create rules SomeRealm:SomePermission N/A N/A N/A N/A GroupUser objects create group group user N/A self user N/A N/A N/A N/A self client login username email password password N/A test_user_must_be_in_required_group N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self user groups all delete N/A res N/A N/A N/A self client get N/A self url N/A N/A N/A res status_code 403 N/A res content N/A N/A N/A N/A res data N/A detail You do not have permission to perform this action. N/A test_view_is_executed N/A N/A self N/A N/A N/A res N/A N/A N/A self client get N/A self url N/A N/A N/A res status_code 200 N/A res content N/A N/A N/A res content "ok" N/A N/A TestGroupPermission N/A TestCase N/A test_user_cannot_be_anonymous N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A request user N/A AnonymousUser N/A view N/A Mock N/A perm N/A GroupPermission SomeRealm SomePermission N/A N/A N/A N/A perm has_permission request view N/A N/A TestAnyOf N/A TestCase N/A test_has_permission N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A N/A N/A N/A AnyOf AllowNone AllowAny has_permission request myview N/A N/A N/A N/A N/A AnyOf AllowAny AllowNone has_permission request myview N/A test_has_permission_fail N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A N/A N/A N/A N/A AnyOf AllowNone AllowNone has_permission request myview N/A test_has_object_permission N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A N/A N/A N/A AnyOf AllowNone AllowAny has_object_permission request myview None N/A N/A N/A N/A N/A AnyOf AllowAny AllowNone has_object_permission request myview None N/A test_has_object_permission_fail N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A N/A N/A N/A N/A AnyOf AllowNone AllowNone has_object_permission request myview None N/A test_has_object_permission_partial_fail N/A N/A self N/A N/A N/A Test that AnyOf.has_object_permission() does not allow access when
        a permission class returns False for has_permission() without having
        a has_object_permission() implementation. NoObjectPerm N/A BasePermission N/A has_permission N/A N/A self request view N/A N/A N/A False N/A N/A NoPerm N/A BasePermission N/A has_object_permission N/A N/A self request view obj N/A N/A N/A False N/A N/A N/A request N/A N/A N/A RequestFactory get / N/A N/A N/A N/A N/A N/A AnyOf NoObjectPerm NoPerm has_object_permission request myview None N/A N/A TestAllowAddonAuthor N/A TestCase N/A N/A fixtures N/A base/users base/addon_3615 setUp N/A N/A self N/A N/A N/A N/A self addon N/A N/A N/A Addon objects get pk 3615 N/A N/A self permission N/A AllowAddonAuthor N/A N/A self owner N/A N/A N/A N/A N/A self addon authors all N/A 0 N/A N/A self request N/A N/A N/A RequestFactory get / N/A N/A N/A self request user N/A AnonymousUser N/A test_has_permission_anonymous N/A N/A self N/A N/A N/A N/A N/A N/A N/A self permission has_permission N/A self request myview N/A test_has_permission_any_authenticated_user N/A N/A self N/A N/A N/A N/A N/A self request user N/A N/A N/A UserProfile objects get pk 999 N/A N/A N/A N/A self request user N/A N/A N/A N/A self addon authors all N/A N/A N/A N/A self permission has_permission N/A self request myview N/A test_has_object_permission_user N/A N/A self N/A N/A N/A N/A N/A self request user N/A self owner N/A N/A N/A N/A self permission has_object_permission N/A self request myview N/A self addon N/A test_has_object_permission_different_user N/A N/A self N/A N/A N/A N/A N/A self request user N/A N/A N/A UserProfile objects get pk 999 N/A N/A N/A N/A self request user N/A N/A N/A N/A self addon authors all N/A N/A N/A N/A N/A self permission has_object_permission N/A self request myview N/A self addon N/A test_has_object_permission_anonymous N/A N/A self N/A N/A N/A N/A N/A N/A N/A self permission has_object_permission N/A self request myview N/A self addon N/A N/A TestAllowReviewer N/A TestCase N/A N/A fixtures N/A base/users setUp N/A N/A self N/A N/A N/A N/A self permission N/A AllowReviewer N/A N/A self request_factory N/A RequestFactory N/A N/A self unsafe_methods N/A patch post put delete N/A N/A self safe_methods N/A get options head N/A test_user_cannot_be_anonymous N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory get / N/A N/A request user N/A AnonymousUser N/A N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A test_authenticated_but_not_reviewer N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory get / N/A N/A request user N/A N/A N/A UserProfile objects get pk 999 N/A N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A test_admin N/A N/A self N/A N/A N/A user N/A N/A N/A UserProfile objects get email admin@mozilla.com N/A method N/A N/A self safe_methods N/A self unsafe_methods N/A N/A request N/A N/A getattr N/A self request_factory method / N/A N/A request user user N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A test_reviewer_tools_access_read_only N/A N/A self N/A N/A N/A user N/A N/A N/A UserProfile objects get pk 999 N/A group N/A N/A N/A Group objects create name ReviewerTools Viewer rules ReviewerTools:View N/A N/A N/A N/A GroupUser objects create user user group group N/A method N/A self safe_methods N/A N/A request N/A N/A getattr N/A self request_factory method / N/A N/A request user user N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A method N/A self unsafe_methods N/A N/A request N/A N/A getattr N/A self request_factory method / N/A N/A request user user N/A N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A test_actual_reviewer N/A N/A self N/A N/A N/A user N/A N/A N/A UserProfile objects get email editor@mozilla.com N/A method N/A N/A self safe_methods N/A self unsafe_methods N/A N/A request N/A N/A getattr N/A self request_factory method / N/A N/A request user user N/A N/A N/A N/A self permission has_permission request myview N/A N/A N/A N/A self permission has_object_permission request myview N/A Mock N/A N/A TestAllowUnlistedReviewer N/A TestCase N/A N/A fixtures N/A base/users setUp N/A N/A self N/A N/A N/A N/A self permission N/A AllowReviewerUnlisted N/A N/A self request N/A N/A N/A RequestFactory get / N/A test_user_cannot_be_anonymous N/A N/A self N/A N/A N/A N/A N/A self request user N/A AnonymousUser N/A obj N/A Mock N/A N/A obj is_listed False N/A N/A N/A N/A N/A self permission has_permission N/A self request myview N/A N/A N/A N/A N/A self permission has_object_permission N/A self request myview obj N/A test_authenticated_but_not_reviewer N/A N/A self N/A N/A N/A N/A N/A self request user N/A N/A N/A UserProfile objects get pk 999 N/A obj N/A Mock N/A N/A obj is_listed False N/A N/A N/A N/A N/A self permission has_permission N/A self request myview N/A N/A N/A N/A N/A self permission has_object_permission N/A self request myview obj N/A test_admin N/A N/A self N/A N/A N/A N/A N/A self request user N/A N/A N/A UserProfile objects get email admin@mozilla.com N/A obj N/A Mock N/A N/A obj is_listed False N/A N/A N/A N/A self permission has_permission N/A self request myview N/A N/A N/A N/A self permission has_object_permission N/A self request myview obj N/A test_unlisted_reviewer N/A N/A self N/A N/A N/A N/A N/A self request user N/A N/A N/A UserProfile objects get email senioreditor@mozilla.com N/A obj N/A Mock N/A N/A obj is_listed False N/A N/A N/A N/A self permission has_permission N/A self request myview N/A N/A N/A N/A self permission has_object_permission N/A self request myview obj N/A N/A TestAllowReadOnlyIfPublicAndListed N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self permission N/A AllowReadOnlyIfPublicAndListed N/A N/A self request_factory N/A RequestFactory N/A N/A self unsafe_methods N/A patch post put delete N/A N/A self safe_methods N/A get options head N/A request N/A N/A self verb N/A N/A N/A request N/A N/A getattr N/A self request_factory verb / N/A N/A request user N/A AnonymousUser N/A request N/A test_has_permission N/A N/A self N/A N/A N/A verb N/A self safe_methods N/A N/A N/A N/A N/A self permission has_permission N/A N/A self request verb myview N/A verb N/A self unsafe_methods N/A N/A N/A N/A N/A N/A self permission has_permission N/A N/A self request verb myview N/A test_has_object_permission_public N/A N/A self N/A N/A N/A obj N/A Mock N/A N/A N/A obj is_public return_value True N/A N/A obj is_listed True N/A verb N/A self safe_methods N/A N/A N/A N/A N/A self permission has_object_permission N/A N/A self request verb myview obj N/A verb N/A self unsafe_methods N/A N/A N/A N/A N/A N/A self permission has_object_permission N/A N/A self request verb myview obj N/A test_has_object_permission_not_public N/A N/A self N/A N/A N/A obj N/A Mock N/A N/A N/A obj is_public return_value False N/A N/A obj is_listed True N/A verb N/A N/A self unsafe_methods N/A self safe_methods N/A N/A N/A N/A N/A N/A self permission has_object_permission N/A N/A self request verb myview obj N/A test_has_object_permission_not_listed N/A N/A self N/A N/A N/A obj N/A Mock N/A N/A N/A obj is_public return_value True N/A N/A obj is_listed False N/A verb N/A N/A self unsafe_methods N/A self safe_methods N/A N/A N/A N/A N/A N/A self permission has_object_permission N/A N/A self request verb myview obj N/A test_has_object_permission_not_listed_nor_public N/A N/A self N/A N/A N/A obj N/A Mock N/A N/A N/A obj is_public return_value False N/A N/A obj is_listed False N/A verb N/A N/A self unsafe_methods N/A self safe_methods N/A N/A N/A N/A N/A N/A self permission has_object_permission N/A N/A self request verb myview obj N/A N/A