diff --git a/.gitignore b/.gitignore
index dc0adb7..918c159 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,5 @@ build/metadata.json
reports/
logs/
vault/
-*.tar.gz
\ No newline at end of file
+*.tar.gz
+package-lock.json
diff --git a/app/components/CreateSDBoxForm/CreateSDBoxForm.js b/app/components/CreateSDBoxForm/CreateSDBoxForm.js
index 17f851b..0444ce1 100644
--- a/app/components/CreateSDBoxForm/CreateSDBoxForm.js
+++ b/app/components/CreateSDBoxForm/CreateSDBoxForm.js
@@ -127,6 +127,7 @@ export default class CreateSDBoxForm extends Component {
{
dispatch(touch(formName, owner.name))
}} />
diff --git a/app/components/EditSDBoxForm/EditSDBoxForm.js b/app/components/EditSDBoxForm/EditSDBoxForm.js
index 59d4c7b..454e63c 100644
--- a/app/components/EditSDBoxForm/EditSDBoxForm.js
+++ b/app/components/EditSDBoxForm/EditSDBoxForm.js
@@ -54,6 +54,7 @@ class EditSDBoxForm extends Component {
{
dispatch(touch(formName, owner.name))
}} />
diff --git a/app/components/GroupSelect/GroupsSelect.js b/app/components/GroupSelect/GroupsSelect.js
index 3273e8c..7a99df7 100644
--- a/app/components/GroupSelect/GroupsSelect.js
+++ b/app/components/GroupSelect/GroupsSelect.js
@@ -6,7 +6,7 @@ import log from 'logger'
export default class GroupsSelect extends Component {
render() {
- const {userGroups, value, onChange, handleBeingTouched, touched, error} = this.props
+ const {userGroups, allowCustomValues, value, onChange, handleBeingTouched, touched, error} = this.props
var options = userGroups.map(function(group) {
return {label: group, value: group}
@@ -28,13 +28,24 @@ export default class GroupsSelect extends Component {
return (
-
{ handleBeingTouched(); onChange(v)}}
- onBlur={() => { handleBeingTouched() }}
- value={value}
- placeholder="Select a user group"
- options={options} />
+ { allowCustomValues &&
+ { handleBeingTouched(); onChange(v)}}
+ onBlur={() => { handleBeingTouched() }}
+ value={value}
+ placeholder="Select a user group"
+ options={options} />
+ }
+ { !allowCustomValues &&
+
)
diff --git a/app/components/UserGroupPermissionsFieldSet/UserGroupPermissionsFieldSet.js b/app/components/UserGroupPermissionsFieldSet/UserGroupPermissionsFieldSet.js
index ae8a9ae..ff103f2 100644
--- a/app/components/UserGroupPermissionsFieldSet/UserGroupPermissionsFieldSet.js
+++ b/app/components/UserGroupPermissionsFieldSet/UserGroupPermissionsFieldSet.js
@@ -38,6 +38,7 @@ export default class UserGroupPermissionsFieldSet extends Component {
{
dispatch(touch(formName, permission.name.name))
}} />
diff --git a/package.json b/package.json
index 16b184b..b2dfd8a 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,7 @@
"isparta-loader": "2.0.0",
"json-loader": "0.5.4",
"lolex": "1.5.0",
- "node-sass": "3.8.0",
+ "node-sass": "3.11.0",
"react-addons-test-utils": "15.1.0",
"redbird": "0.5.2",
"redux-devtools": "3.3.1",