(self, couch_user, case_types, case_domain=None)
Perform all checks for data access.
        Will raise a RegistryAccessException if access should be denied.
Perform all checks for data access.
        Will raise a RegistryAccessException if access should be denied.
Perform all checks for data access . Will raise a RegistryAccessException if access should be denied .
def check_data_access(self, couch_user, case_types, case_domain=None):
        """Perform all checks for data access.
        Will raise a RegistryAccessException if access should be denied.
        """
        for case_type in case_types:
            self._check_case_type_in_registry(case_type)
        self._check_user_has_access(couch_user, case_domain)
        if case_domain is not None:
            self._check_domain_is_visible(case_domain)
def check_data_access ( self , couch_user , case_types , case_domain = None ) : for case_type in case_types : self . _check_case_type_in_registry ( case_type ) self . _check_user_has_access ( couch_user , case_domain ) if case_domain is not None : self . _check_domain_is_visible ( case_domain )