View Package Perm

This commit is contained in:
Tim Lorsbach
2026-07-17 10:52:03 +02:00
parent 241fa15bb3
commit 2fe438bd27
3 changed files with 160 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<i class="glyphicon glyphicon-bullhorn"></i> Publish Package</a
>
</li>
{% endif %}
<li>
<a
role="button"
@ -31,6 +32,7 @@
<i class="glyphicon glyphicon-bullhorn"></i> Export Package as JSON</a
>
</li>
{% if meta.can_edit %}
<li>
<a
role="button"
@ -48,3 +50,13 @@
>
</li>
{% endif %}
{% if not meta.can_edit %}
<li>
<a
role="button"
onclick="document.getElementById('view_package_permissions_modal').showModal(); return false;"
>
<i class="glyphicon glyphicon-user"></i> View Permissions</a
>
</li>
{% endif %}