'Return T/F if the user has role-based access to the dataset.'

def has_access_permission(self, dataset, user):

    roles = (user.all_roles_exploiting_cache() if user else [])
    return self.app.security_agent.can_access_dataset(roles, dataset)
