{%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)}}
View Group Role
{{flash_me()}}
Role Details
{%if group_role_error is defined%}
{{display_error("Group Role", group_role_error)}}
{%else%}
Details for '{{group_role.role.role_name}}' Role
Privilege |
Description |
Action |
{%for privilege in group_role.role.privileges%}
{{privilege.privilege_id}} |
{{privilege.privilege_description}} |
|
{%endfor%}
{%endif%}
Other Privileges
Other Privileges not Assigned to this Role
Privilege |
Description |
Action |
{%for priv in group_privileges%}
{{priv.privilege_id}} |
{{priv.privilege_description}} |
|
{%else%}
All privileges assigned!
|
{%endfor%}
{%endblock%}