about summary refs log tree commit diff
path: root/gn2/wqflask/templates/oauth2/view-resource.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-17 13:55:57 -0500
committerFrederick Muriuki Muriithi2024-06-17 13:55:57 -0500
commitb6a2d32b12525afba6928a57a25924d795754204 (patch)
tree65d59e7920ce726cbdd1c5d7ba98d770a2c35658 /gn2/wqflask/templates/oauth2/view-resource.html
parentb5ecabfecbc1e7a8ed1a2b92fd73094204541d83 (diff)
downloadgenenetwork2-b6a2d32b12525afba6928a57a25924d795754204.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">