开发者

Content types hiding and permission

开发者 https://www.devze.com 2023-03-13 08:11 出处:网络
I\'d like to disable/hide some content types site-wide so that only Administrators 开发者_开发知识库can add them. What would be the best practice to do it? Does GenericSetup provide any XML for such a

I'd like to disable/hide some content types site-wide so that only Administrators 开发者_开发知识库can add them. What would be the best practice to do it? Does GenericSetup provide any XML for such a task or do I need to create a custom import step?


Wouldn't this just be a question of assigning the "Add [Content type]" permission to the appropriate role? (Or creating such a permission if your content type assumes use of the general "add content" permission?)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号