aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/oauth2/view-resource.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-17 13:55:57 -0500
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commitc1efb9f57be588137ae3093d3c4aa7badff63b5f (patch)
tree86cf439d921daecf30fca012102c3a8a64e74872 /gn2/wqflask/templates/oauth2/view-resource.html
parent311a81d67d02b91652934ce0329adc4c4b3577be (diff)
downloadgenenetwork2-c1efb9f57be588137ae3093d3c4aa7badff63b5f.tar.gz
Create a new resource role.
Diffstat (limited to 'gn2/wqflask/templates/oauth2/view-resource.html')
-rw-r--r--gn2/wqflask/templates/oauth2/view-resource.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/oauth2/view-resource.html b/gn2/wqflask/templates/oauth2/view-resource.html
index 25cac6ff..cfc769c4 100644
--- a/gn2/wqflask/templates/oauth2/view-resource.html
+++ b/gn2/wqflask/templates/oauth2/view-resource.html
@@ -246,6 +246,11 @@
</a>
{%endfor%}
</div>
+ <hr />
+ <a title="create a new role for this resource"
+ href="{{url_for('oauth2.resource.create_resource_role',
+ resource_id=resource.resource_id)}}"
+ class="btn btn-info">New Role</a>
</div>
<div class="row">