From 999489a44405664d1d289158763474dae0b99297 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 11 Jun 2024 11:34:21 -0500 Subject: Provide UI to delete role. --- gn2/wqflask/templates/oauth2/view-resource-role.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gn2/wqflask/templates/oauth2/view-resource-role.html b/gn2/wqflask/templates/oauth2/view-resource-role.html index 57008f44..4bd0ab45 100644 --- a/gn2/wqflask/templates/oauth2/view-resource-role.html +++ b/gn2/wqflask/templates/oauth2/view-resource-role.html @@ -130,8 +130,18 @@ {%endif%} + + {%if users is defined and users | length == 0%} +
+ Delete Role: + + This will delete this role, and you will no longer have access to it.
+