{% load i18n %}

{% trans "Owner" %}

{% if user == instance.owner %} {% blocktrans %}You are the current owner of this instance.{% endblocktrans %} {% else %} {% url "dashboard.views.profile" username=instance.owner.username as url %} {% blocktrans with owner=instance.owner name=instance.owner.get_full_name%} The current owner of this instance is {{name}} ({{owner}}). {% endblocktrans %} {% endif %} {% if user == instance.owner or user.is_superuser %} {% trans "Transfer ownership..." %} {% endif %}

{% trans "Permissions"|capfirst %}

{% include "dashboard/_manage_access.html" with table_id="vm-access-table" %}
{% trans "Permissions" %}
{% trans "With Permissions you can add Users and Groups with different levels to grant access to the virtual machine." %}
{% trans "User" %}
{% trans "User level grants access to the virtual machine's details page. Users are able to connect to this machine." %}
{% trans "Operator" %}
{% blocktrans %} Operator level permit the modification of the name and description fields. Allow the operator to open ports and grant/revoke User level access to the virtual machine. {% endblocktrans %}
{% trans "Owner" %}
{% blocktrans %} Owner level enables all operations on the virtual machine. Owners are able to grant/revoke Operator, User and Owner level access to others. The accountable owner (the one who deployed the machine) can not be demoted. The accountable ownership can be transferred to other User via the "Transfer onwership" button. {% endblocktrans %}