我使用$page->getCollectionChildrenArray(true)从其子页面填充混凝土5中的内容8.2.1,但问题是它会输出用户无权查看的页面。如果登录用户没有查看该页面的权限,我想添加一个检查来停止输出内容。我在Checking Permissions Against Other Users or Groups上找到了以下文档,但似乎无法解决如何让它适用于我的案例。我有例如代码
我有一个ubuntu 16.04,我已经安装了docker和docker-compose;但是我不能在没有sudo的情况下运行它们。对于docker: docker build -t zizi .
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
对于docker-compose: