{% extends "base.html" %} {% block title %}Resource Manager{% endblock %} {% block content %}
{{ flash_me() }} {% set DATA_ACCESS = access_role.get('data') %} {% set METADATA_ACCESS = access_role.get('metadata') %} {% set ADMIN_STATUS = access_role.get('admin') %} {% set ADMIN_STATUS = access_role.get('admin') %}

Resource Manager

{% if resource_info.get('owner_id') %} {% set user_details = resource_info.get('owner_details') %}

Current Owner: {{ user_details.get('full_name') }}

{% if user_details.get('organization') %}

Organization: {{ user_details.get('organization')}}

{% endif %} {% endif %} {% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %} Change Owner {% endif %}
{{ resource_info.get('name') }}
{% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %} {% set is_open_to_public = DataRole(resource_info.get('default_mask').get('data')) > DataRole.NO_ACCESS %}
{% endif %}
{% if ADMIN_STATUS > AdminRole.NOT_ADMIN %}


{% if resource_info.get('group_masks', [])|length > 0 %}

Current Group Permissions


{% for key, value in resource_info.get('group_masks').items() %} {% endfor %}
Id Name Data Metadata
{{ key }} {{ value.group_name}} {{ value.data }} {{ value.metadata }}
{% else %}

No groups are currently added to this resource.

{% endif %}
{% endif %}
{% endblock %} {% block js %} {% endblock %}