{%extends "base.html"%} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} {%block content%}
{{profile_nav("roles", user_privileges)}}

Roles

{{flash_me()}}

Your System-Level Roles

    {%for role in roles %}
  • {{role.role_name}}
  • {%else%}
  •   No roles attached to this user
  • {%endfor%}

Group-Wide Roles

{%if "group:role:create-role" in user_privileges%} New Group Role {%endif%} {%if group_roles_error is defined%} {{display_error("Group Roles", group_role_error)}} {%else%} {%for grole in group_roles%} {%else%} {%endfor%}
Group Roles
Role Name Actions
{{grole.role.role_name}} View
  No group roles found
{%endif%}
{%endblock%}