From ebeb75756d53509d2872ac91b2b86942e394ef23 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 7 Jun 2024 15:26:41 -0500 Subject: PoC: Display resource roles on View-Resource page. --- gn2/wqflask/templates/oauth2/view-resource.html | 56 +++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/templates/oauth2/view-resource.html b/gn2/wqflask/templates/oauth2/view-resource.html index 6ae5af56..2d11a302 100644 --- a/gn2/wqflask/templates/oauth2/view-resource.html +++ b/gn2/wqflask/templates/oauth2/view-resource.html @@ -231,10 +231,58 @@
- - The resource roles will go here when they are implemented … -
+| Role Name | +Privilege | +Privilege Description | +Actions | +|
|---|---|---|---|---|
| + {{role.role_name}} + | +{{priv.privilege_id}} | +{{priv.privilege_description}} | ++ Delete + | ++ Edit + | +
| {{priv.privilege_id}} | +{{priv.privilege_description}} | +|||
|
+ + + No roles defined for this resource. + + |
+ ||||