mirror of https://github.com/jumpserver/jumpserver
parent
18169251fa
commit
dd6c82b168
|
@ -194,7 +194,7 @@ class SystemUser(models.Model):
|
||||||
for asset in asset_group.assets.all():
|
for asset in asset_group.assets.all():
|
||||||
setattr(asset, 'is_inherit_from_asset_groups', True)
|
setattr(asset, 'is_inherit_from_asset_groups', True)
|
||||||
setattr(asset, 'inherit_from_asset_groups',
|
setattr(asset, 'inherit_from_asset_groups',
|
||||||
getattr(asset, b'inherit_from_asset_groups', set()).add(asset_group))
|
getattr(asset, 'inherit_from_asset_groups', set()).add(asset_group))
|
||||||
assets.add(asset)
|
assets.add(asset)
|
||||||
return assets
|
return assets
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<li><a href="{% url 'users:user-profile' %}">{% trans 'Profile' %}</a></li>
|
<li><a href="{% url 'users:user-profile' %}">{% trans 'Profile' %}</a></li>
|
||||||
<li><a href="{% url 'users:user-profile-update' %}">{% trans 'Profile settings' %}</a></li>
|
<li><a href="{% url 'users:user-profile-update' %}">{% trans 'Profile settings' %}</a></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li><a href="">{% trans 'Logout' %}</a></li>
|
<li><a href="{% url 'users:logout' %}">{% trans 'Logout' %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="logo-element">
|
<div class="logo-element">
|
||||||
|
|
Loading…
Reference in New Issue