manage external ids
This commit is contained in:
parent
6bda5d5983
commit
933cbb72aa
|
@ -59,7 +59,8 @@
|
||||||
$scope.submit = function (model) {
|
$scope.submit = function (model) {
|
||||||
var group = {
|
var group = {
|
||||||
name: model.name,
|
name: model.name,
|
||||||
accessAll: !!model.accessAll
|
accessAll: !!model.accessAll,
|
||||||
|
externalId: model.externalId
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!group.accessAll) {
|
if (!group.accessAll) {
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
$scope.group = {
|
$scope.group = {
|
||||||
id: id,
|
id: id,
|
||||||
name: group.Name,
|
name: group.Name,
|
||||||
|
externalId: group.ExternalId,
|
||||||
accessAll: group.AccessAll
|
accessAll: group.AccessAll
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,7 +79,8 @@
|
||||||
$scope.submit = function () {
|
$scope.submit = function () {
|
||||||
var group = {
|
var group = {
|
||||||
name: $scope.group.name,
|
name: $scope.group.name,
|
||||||
accessAll: !!$scope.group.accessAll
|
accessAll: !!$scope.group.accessAll,
|
||||||
|
externalId: $scope.group.externalId
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!group.accessAll) {
|
if (!group.accessAll) {
|
||||||
|
|
|
@ -18,9 +18,13 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="email">Name</label>
|
<label for="name">Name</label>
|
||||||
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control" required api-field />
|
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control" required api-field />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="externalId">External Id</label>
|
||||||
|
<input type="text" id="externalId" name="ExternalId" ng-model="model.externalId" class="form-control" api-field />
|
||||||
|
</div>
|
||||||
<h4>Access</h4>
|
<h4>Access</h4>
|
||||||
<div class="radio">
|
<div class="radio">
|
||||||
<label>
|
<label>
|
||||||
|
|
|
@ -18,9 +18,13 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="email">Name</label>
|
<label for="name">Name</label>
|
||||||
<input type="text" id="name" name="Name" ng-model="group.name" class="form-control" required api-field />
|
<input type="text" id="name" name="Name" ng-model="group.name" class="form-control" required api-field />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group" show-errors>
|
||||||
|
<label for="externalId">External Id</label>
|
||||||
|
<input type="text" id="externalId" name="ExternalId" ng-model="group.externalId" class="form-control" api-field />
|
||||||
|
</div>
|
||||||
<h4>Access</h4>
|
<h4>Access</h4>
|
||||||
<div class="radio">
|
<div class="radio">
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue