Skip to content

Commit 7a31f30

Browse files
santokhsinghDonMartin76
authored andcommitted
Subscription approver role for user (#23)
http://ent.jira.int.thomsonreuters.com/browse/TSN-451
1 parent b283bf5 commit 7a31f30

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

views/groups.jade

+15-8
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,22 @@ mixin groupPanel(group, index)
2222
.form-group
2323
label Alternative IDs:
2424
input(name='#{grp}.alt_ids' value='#{group.alt_ids}' type='string').form-control
25-
p.wicked-note Comma separated list of alternate IDs; if any of these are found in the ADFS groups, the user will be automatically assigned to this group.
26-
25+
p.wicked-note Comma separated list of alternate IDs; if any of these are found in the ADFS groups, the user will be automatically assigned to this group.
26+
2727
.checkbox
2828
label
2929
if group.adminGroup
3030
input(name='#{grp}.adminGroup' type='checkbox' checked='checked')
3131
else
3232
input(name='#{grp}.adminGroup' type='checkbox')
3333
| Admin Group
34+
.checkbox
35+
label
36+
if group.approverGroup
37+
input(name='#{grp}.approverGroup' type='checkbox' checked='checked')
38+
else
39+
input(name='#{grp}.approverGroup' type='checkbox')
40+
| Approver Group
3441

3542
block scripts
3643
script(type='text/javascript').
@@ -43,9 +50,9 @@ block content
4350
.jumbotron
4451
.container
4552
h1 Groups configuration
46-
53+
4754
p Specify the user groups you need and want in your API portal. These can be used to restrict access to things like APIs or Content.
48-
55+
4956
.container
5057
form(role='form' method='post' action='/groups')
5158

@@ -54,7 +61,7 @@ block content
5461
have validated their email addresses, or if they logged in via any of the federated authentication
5562
means (ADFS, Google or Github). If you don't want the user to be auto assigned a group, specify
5663
"<none>" here:
57-
64+
5865
br
5966
.form-group
6067
label Default Group for validated users:
@@ -66,7 +73,7 @@ block content
6673
else
6774
option= group.id
6875
br
69-
76+
7077
input(type='hidden' id='__action', name='__action' value='none')
7178
input(type='hidden' id='__object', name='__object' value='none')
7279

@@ -82,5 +89,5 @@ block content
8289
td(style='text-align:right')
8390
button(type='submit' onclick='setAction("addGroup");').btn.btn-success Add Group »
8491
br
85-
86-
+renderButtons('/groups', '/auth', '/plans')
92+
93+
+renderButtons('/groups', '/auth', '/plans')

0 commit comments

Comments
 (0)