REVE-37: Prevent modifications to feature based enrollment user partitions

This commit is contained in:
Gabe Mulley
2018-11-19 08:37:48 -05:00
parent 4826b69035
commit 5177e994c8
10 changed files with 93 additions and 26 deletions

View File

@@ -23,7 +23,8 @@ function(Backbone, _, gettext, GroupModel, GroupCollection) {
]),
showGroups: false,
editing: false,
usage: []
usage: [],
read_only: false
};
},
@@ -78,7 +79,8 @@ function(Backbone, _, gettext, GroupModel, GroupCollection) {
scheme: this.get('scheme'),
description: this.get('description'),
version: this.get('version'),
groups: this.get('groups').toJSON()
groups: this.get('groups').toJSON(),
read_only: this.get('read_only')
};
},