Skip to content
Snippets Groups Projects
Commit 4fbc836b authored by Benjami's avatar Benjami
Browse files

fix required groups to view Assign admin buttton

parent 971c99fd
No related branches found
No related tags found
No related merge requests found
Pipeline #35723 passed
This commit is part of merge request !142. Comments created here will be created in the context of that merge request.
......@@ -11,8 +11,18 @@
<xpath expr="//sheet" position="before">
<header>
<field name="landing_page_id" invisible="1"/>
<button name="create_landing" type="object" string="Create landing page" attrs="{'invisible': [('landing_page_id','!=',False)]}" />
<button name="action_open_assign_admin_wizard" type="object" string="Assing administrator" groups="['group_admin','group_platform_manager','group_coordinator']"/>
<button
name="create_landing"
type="object"
string="Create landing page"
attrs="{'invisible': [('landing_page_id','!=',False)]}"
/>
<button
name="action_open_assign_admin_wizard"
type="object"
string="Assing administrator"
groups="energy_communities.group_platform_manager, energy_communities.group_admin, energy_communities.group_coordinator"
/>
</header>
</xpath>
<xpath expr="//field[@name='logo']" position="before">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment