Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/m/e/mediadrop-HEAD/mediadrop/lib/auth/group_based_policy.py   mediadrop(Download)
        return None
 
PermissionPolicies.register(GroupBasedPermissionsPolicy)
 
 

src/m/e/mediadrop-HEAD/mediadrop/lib/auth/tests/group_based_permissions_policy_test.py   mediadrop(Download)
    def setUp(self):
        super(GroupBasedPermissionsPolicyTest, self).setUp()
        PermissionPolicies.register(GroupBasedPermissionsPolicy)
        self.policy = GroupBasedPermissionsPolicy()
 

src/m/e/mediadrop-HEAD/mediadrop/lib/auth/tests/filtering_restricted_items_test.py   mediadrop(Download)
    def _register_default_policy(self):
        PermissionPolicies.register(GroupBasedPermissionsPolicy)
 
    def _create_user_without_groups(self):
        user = User()