Allow unrestricted access to assigned tags

This commit is contained in:
Jeremy Stretch 2020-06-16 14:17:40 -04:00
parent 1e259f3043
commit adf0255bdf
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<strong>Tags</strong>
</div>
<div class="panel-body">
{% for tag in tags %}
{% for tag in tags.unrestricted %}
{% tag tag url %}
{% empty %}
<span class="text-muted">No tags assigned</span>

View File

@ -215,7 +215,7 @@ def prepare_cloned_fields(instance):
# Copy tags
if is_taggable(instance):
params['tags'] = ','.join([t.name for t in instance.tags.all()])
params['tags'] = ','.join([t.name for t in instance.tags.all().unrestricted()])
# Concatenate parameters into a URL query string
param_string = '&'.join(