Skip to content

Commit 3c95edd

Browse files
committed
fix(authorization): drop multi-line {# #} comments leaking as text
Django's {# ... #} comment is single-line only; my multi-line preamble above the new authorized_users_panel block was rendering as visible text above the panel header in the UI. Just delete the comments — the plan file documents the same context.
1 parent d34a5bd commit 3c95edd

4 files changed

Lines changed: 0 additions & 20 deletions

File tree

dojo/templates/dojo/view_product_details.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ <h3 class="panel-title"><span class ="fa-solid fa-scale-balanced" aria-hidden="t
272272
</div>
273273
{% endif %}
274274

275-
{# Authorized Users panel — source of truth for access under legacy
276-
authorization. The rbac_members_panel / rbac_groups_panel hooks
277-
below are empty here; Pro overrides them at
278-
pro/templates/dojo/view_product_details.html to render Members /
279-
Groups panels driven by Pro's RBAC tables. #}
280275
{% block authorized_users_panel %}
281276
<div class="panel panel-default">
282277
<div class="panel-heading">

dojo/templates/dojo/view_product_type.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ <h4 class="pull-left">{{ labels.ASSET_PLURAL_LABEL }}</h4>
130130
</div>
131131
{% endif %}
132132
</div>
133-
{# Authorized Users panel — source of truth for access under
134-
legacy authorization. The rbac_members_panel /
135-
rbac_groups_panel hooks below are empty here; Pro
136-
overrides them at pro/templates/dojo/view_product_type.html
137-
to render Members / Groups panels driven by Pro RBAC. #}
138133
{% block authorized_users_panel %}
139134
<div class="panel panel-default">
140135
<div class="panel-heading">

dojo/templates_classic/dojo/view_product_details.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ <h3 class="panel-title"><span class ="fa-solid fa-scale-balanced" aria-hidden="t
272272
</div>
273273
{% endif %}
274274

275-
{# Authorized Users panel — source of truth for access under legacy
276-
authorization. The rbac_members_panel / rbac_groups_panel hooks
277-
below are empty here; Pro overrides them at
278-
pro/templates/dojo/view_product_details.html to render Members /
279-
Groups panels driven by Pro's RBAC tables. #}
280275
{% block authorized_users_panel %}
281276
<div class="panel panel-default">
282277
<div class="panel-heading">

dojo/templates_classic/dojo/view_product_type.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ <h4 class="pull-left">{{ labels.ASSET_PLURAL_LABEL }}</h4>
130130
</div>
131131
{% endif %}
132132
</div>
133-
{# Authorized Users panel — source of truth for access under
134-
legacy authorization. The rbac_members_panel /
135-
rbac_groups_panel hooks below are empty here; Pro
136-
overrides them at pro/templates/dojo/view_product_type.html
137-
to render Members / Groups panels driven by Pro RBAC. #}
138133
{% block authorized_users_panel %}
139134
<div class="panel panel-default">
140135
<div class="panel-heading">

0 commit comments

Comments
 (0)