Skip to content

Commit 5df981c

Browse files
Fix adding role to service account where namespace is sometimes missed
1 parent 9b48a7b commit 5df981c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/membership.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h3>
142142
</ui-select>
143143
<button
144144
ng-disabled="disableAddForm || (!subject.newRole)"
145-
ng-click="addRoleTo(subject.name, subjectKind.name, subject.newRole)"
145+
ng-click="addRoleTo(subject.name, subjectKind.name, subject.newRole, subject.namespace)"
146146
class="btn btn-default add-role-to">
147147
Add
148148
</button>

dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10717,7 +10717,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1071710717
"</div>\n" +
1071810718
"</ui-select-choices>\n" +
1071910719
"</ui-select>\n" +
10720-
"<button ng-disabled=\"disableAddForm || (!subject.newRole)\" ng-click=\"addRoleTo(subject.name, subjectKind.name, subject.newRole)\" class=\"btn btn-default add-role-to\">\n" +
10720+
"<button ng-disabled=\"disableAddForm || (!subject.newRole)\" ng-click=\"addRoleTo(subject.name, subjectKind.name, subject.newRole, subject.namespace)\" class=\"btn btn-default add-role-to\">\n" +
1072110721
"Add\n" +
1072210722
"</button>\n" +
1072310723
"</div>\n" +

0 commit comments

Comments
 (0)