mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Allow unrestricted access to assigned tags
This commit is contained in:
parent
1e259f3043
commit
adf0255bdf
@ -4,7 +4,7 @@
|
|||||||
<strong>Tags</strong>
|
<strong>Tags</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% for tag in tags %}
|
{% for tag in tags.unrestricted %}
|
||||||
{% tag tag url %}
|
{% tag tag url %}
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<span class="text-muted">No tags assigned</span>
|
<span class="text-muted">No tags assigned</span>
|
||||||
|
@ -215,7 +215,7 @@ def prepare_cloned_fields(instance):
|
|||||||
|
|
||||||
# Copy tags
|
# Copy tags
|
||||||
if is_taggable(instance):
|
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
|
# Concatenate parameters into a URL query string
|
||||||
param_string = '&'.join(
|
param_string = '&'.join(
|
||||||
|
Loading…
Reference in New Issue
Block a user