{%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)}}

Create Role

{{flash_me()}} {%if group_privileges_error is defined%} {{display_error("Group Privileges", group_privileges_error)}} {%else%} {%if "group:role:create-role" in user_privileges%}
Create Group Role
{%for priv in group_privileges%}
{%endfor%}
{%else%} {{display_error("Privilege", {"error":"PrivilegeError", "error_description": "You do not have sufficient privileges to create a new role."})}} {%endif%} {%endif%}
{%endblock%}