[FIX] *: add group_ids where it is needed

Following the previous commit adding access via groups_id
These views are rendered publicly by specific user
This commit is contained in:
Martin Trigaux
2020-05-14 13:59:10 +02:00
parent 8eb575a1cf
commit 64d0dab0a6
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
<t t-call-assets="web_editor.assets_wysiwyg"/>
</template>
<template id="compiled_assets_wysiwyg" name="Wysiwyg Editor">
<template id="compiled_assets_wysiwyg" name="Wysiwyg Editor" groups="base.group_user,base.group_portal">
<t t-call-assets="web_editor.assets_wysiwyg"/>
</template>
@@ -209,7 +209,7 @@
If a color is no longer used you need to add the d-none class to it and not remove it from this file !!
Else you will no longer be able to use them.
-->
<template id="web_editor.colorpicker" name="Color-Picker">
<template id="web_editor.colorpicker" name="Color-Picker" groups="base.group_user">
<colorpicker>
<div class="o_colorpicker_section" data-name="theme">
<button data-color="alpha"></button>
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="snippets">
<template id="snippets" groups="base.group_user">
<div id="snippets_menu">
<button type="button" class="o_we_add_snippet_btn active" accesskey="1">
Blocks
+1 -1
View File
@@ -108,7 +108,7 @@
</xpath>
</template>
<template id="website.compiled_assets_wysiwyg" name="Website Editor Assets (used in website editor)">
<template id="website.compiled_assets_wysiwyg" name="Website Editor Assets (used in website editor)" groups="website.group_website_publisher">
<t t-call-assets="website.assets_wysiwyg"/>
</template>
+1 -1
View File
@@ -2,7 +2,7 @@
<odoo>
<!-- Snippets menu -->
<template id="snippets" inherit_id="web_editor.snippets" primary="True">
<template id="snippets" inherit_id="web_editor.snippets" primary="True" groups="base.group_user">
<xpath expr="//div[@id='snippets_menu']" position="inside">
<button type="button" class="o_we_customize_theme_btn"
data-title="Customize your theme"