aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html
diff options
context:
space:
mode:
authorAlexander Kabui2024-08-30 16:47:55 +0300
committerGitHub2024-08-30 16:47:55 +0300
commited20621c23a9a41152f3d6a48334f2a31c018033 (patch)
tree5e2182b99f5f05e2f667dfce1b762921c4ec62dc /gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html
parent9a345d8abf2f0045b2c47bfcf1ae5860273452be (diff)
parent6db49002d4d2e69fcf4fdd6be6aceeea7b95664f (diff)
downloadgenenetwork2-ed20621c23a9a41152f3d6a48334f2a31c018033.tar.gz
Merge pull request #861 from genenetwork/feature/gnqa-search-2
Feature/gnqa search 2
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.html34
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%}