Removed a duplicate key error output for further testing

This commit is contained in:
vladfreeze
2021-12-02 11:29:29 +01:00
committed by Min RK
parent 7fe565cc05
commit d812d0f11c
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ const GroupEdit = (props) => {
error.textContent = "Duplicate key found!"; error.textContent = "Duplicate key found!";
error.style.color = "red"; error.style.color = "red";
} else { } else {
error.textContent = ""; //error.textContent = "";
propkeys.forEach((key, i) => (propobject[key] = propvalues[i])); propkeys.forEach((key, i) => (propobject[key] = propvalues[i]));
} }
if ( if (

View File

@@ -301,7 +301,7 @@ class APIHandler(BaseHandler):
'properties': group.properties, 'properties': group.properties,
} }
access_map = { access_map = {
'read:groups': {'kind', 'name', 'properties','users'}, 'read:groups': {'kind', 'name', 'properties', 'users'},
'read:groups:name': {'kind', 'name'}, 'read:groups:name': {'kind', 'name'},
'read:roles:groups': {'kind', 'name', 'roles'}, 'read:roles:groups': {'kind', 'name', 'roles'},
} }