Skip to content

Commit 766f6ec

Browse files
committed
LOOP-1257: Allowed select users to edit account
1 parent 4b4c51e commit 766f6ec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

web/profiles/custom/os2loop/themes/os2loop_theme/assets/components/forms/user-form.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
padding: 0;
2121
}
2222

23-
legend,
24-
#edit-account {
23+
legend {
2524
@extend .d-none;
2625
}
2726

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{# Only select users can edit their account details #}
2+
{% if is_granted('os2loop_user_manual') %}
3+
{% include 'container.html.twig' %}
4+
{% endif %}

0 commit comments

Comments
 (0)