{%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%}
Create a new role to act on resource "{{resource.resource_name}}"
{%if group_privileges_error is defined%} {{display_error("Group Privileges", group_privileges_error)}} {%else%} {%if "resource:role:create-role" in (user_privileges|map(attribute="privilege_id")) %} {%else%} {{display_error("Privilege", {"error":"PrivilegeError", "error_description": "You do not have sufficient privileges to create a new role."})}} {%endif%} {%endif%}