def METHOD_NAME(self, namespace_scoped_permission_obj, project_id, cluster_id, namespace_name):
    """测试场景：有命名空间域资源使用权限(同时有集群/项目查看权限)"""
    perm_ctx = NamespaceScopedPermCtx(
        username=roles.ADMIN_USER, project_id=project_id, cluster_id=cluster_id, name=namespace_name
    )
    assert namespace_scoped_permission_obj.can_use(perm_ctx)