コンテンツへスキップ
メニュー
この質問にフラグが付けられました
8987 ビュー

I want users in the group base.group_website_publisher to have the right to edit pages and create new pages, but without the right to change theme or edit HTML/CSS. When I change groups for the menu Customize to base.menu_administration the  Editor are disabled in base/ir/ir_qweb->render_node (261) "Editor disabled because some content can not be seen by a user who does not belong to the groups %s"

template website.user_navbar:

       <!-- Customize -->
            <li class="dropdown" id="customize-menu" groups="base.menu_administration">
                <a id="customize-menu-button" class="dropdown-toggle" data-toggle="dropdown" href="#">
                    Customize <span class="caret"/>
                </a>
                <ul class="dropdown-menu" role="menu">
                    <li><a href="#advanced-view-editor" data-action="ace">HTML Editor</a></li>
                    <li><a href="/page/website.themes">Change Theme</a></li>
                    <li><a href="/web#return_label=Website&amp;action=website.action_module_website">Install Apps</a></li>
                    <li class="divider"/>
                </ul>
            </li>

 

What is the best practice to do this?

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
3930
0
3月 15
4997
0
3月 15
3526
1
3月 15
4183
4
7月 23
8640