Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个 Plone 资源注册表条件(TALES 表达式),它可以选择登录内容作者(具有编辑权限)和常规登录站点用户(没有编辑权限)之间的区别……有人可以帮忙吗?
这看起来可以解决问题:
expression="python:portal['portal_membership'].checkPermission('Modify portal content', context)"
另一种方法是使用上下文状态视图:
context/@@plone_context_state/is_editable