Commit 09eda579 by Kálmán Viktor

dashboard: help texts

parent ebdf3b7e
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
{% if is_owner %} {% if is_owner %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<a href="{% url "dashboard.views.template-delete" pk=object.pk %}" <a href="{% url "dashboard.views.template-delete" pk=object.pk %}"
class="btn btn-xs btn-danger pull-right template-delete"> class="btn btn-xs btn-danger pull-right template-delete">
{% trans "Delete" %} {% trans "Delete" %}
</a> </a>
...@@ -109,6 +109,39 @@ ...@@ -109,6 +109,39 @@
</div> </div>
</div> </div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="no-margin">
<i class="fa fa-question-circle"></i>
{% trans "Access level rights" %}
</h4>
</div>
<div class="panel-body">
<dl>
<dt>{% trans "User" %}</dt>
<dd>
{% blocktrans %}
Can create instances from this template but cannot manage access or edit the attributes.
{% endblocktrans %}
</dd>
<dt>{% trans "Operator" %}</dt>
<dd>
{% blocktrans %}
Same as user, however operators can grant user level access to this template
for groups and users but they can only revoke user level accesses.
{% endblocktrans %}
</dd>
<dt>{% trans "Owner" %}</dt>
<dd>
{% blocktrans %}
Owners can edit the template's attributes, delete it,
transfer the ownership and also grant user,
operator and owner level access to the template.
{% endblocktrans %}
</dd>
</dl>
</div>
</div>
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
......
...@@ -18,3 +18,19 @@ ...@@ -18,3 +18,19 @@
</p> </p>
<h3>{% trans "Permissions"|capfirst %}</h3> <h3>{% trans "Permissions"|capfirst %}</h3>
{% include "dashboard/_manage_access.html" with table_id="vm-access-table" %} {% include "dashboard/_manage_access.html" with table_id="vm-access-table" %}
<dl>
<dt>User</dt>
<dd>Grants access to the detail page so the users can connect to the virtual machine.
</dd>
<dt>Operator</dt>
<dd>Users or groups with operator access can modify the the name and description, open ports and grant user level accesses to the virtual machine. They can only revoke user level access.
</dd>
<dt>Owner</dt>
<dd>
Full access to the virtual machine. They can use operations, change resources and grant operator level access to users or groups.
Besides the access levels the instance also has an original owner.
The original owner's access cannot be revoked however the ownership is transferable.
</dd>
</dl>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment