diff options
author | Frederick Muriuki Muriithi | 2024-06-10 15:56:47 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-10 15:56:47 -0500 |
commit | 662e9fd85eca97c4fb65a7a3733c5c088c530ea2 (patch) | |
tree | 4f5f9eb196586ff09d12d49fe4b18301354cbaf8 /gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html | |
parent | fcde5e0d388c00c4f428d01def27907cd58625de (diff) | |
download | genenetwork2-662e9fd85eca97c4fb65a7a3733c5c088c530ea2.tar.gz |
Unassign privilege from resource role.
Diffstat (limited to 'gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html')
-rw-r--r-- | gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html b/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html new file mode 100644 index 00000000..988cf3b4 --- /dev/null +++ b/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html @@ -0,0 +1,34 @@ +{%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%} +<div class="container"> + {{profile_nav(uipages, user_privileges)}} + {{flash_me()}} + + <form id="frm_confirm_resource_role_unassign_privilege" + method="POST" + action="{{url_for('oauth2.resource.unassign_privilege_from_resource_role', + resource_id=resource.resource_id, + role_id=role.role_id)}}"> + <p> + Are you sure you want to unassign the privilege to + '{{privilege.privilege_description}}' from the role '{{role.role_name}}' + on resource '{{resource.resource_name}}'?</p> + <input type="hidden" + name="privilege_id" + value="{{privilege.privilege_id}}" /> + + <input type="submit" + name="confirm" + value="Cancel" + class="btn btn-success" /> + + <input type="submit" + name="confirm" + value="Unassign" + class="btn btn-danger" /> + </form> +</div> +{%endblock%} |