master
Rohan Vazarkar 2017-05-25 11:01:04 -04:00
parent b52cc8b234
commit 6fb3697416
1 changed files with 8 additions and 8 deletions

View File

@ -184,33 +184,33 @@ export function buildACLProps(rows) {
var rights = [] var rights = []
if (extright === 'All'){ if (extright === 'All'){
rights.append("AllExtendedRights") rights.push("AllExtendedRights")
} }
if (extright === 'User-Force-Change-Password'){ if (extright === 'User-Force-Change-Password'){
rights.append("ForceChangePassword") rights.push("ForceChangePassword")
} }
if (rel === "ExtendedRight"){ if (rel === "ExtendedRight"){
rights.append(extright) rights.push(extright)
} }
if (rel.includes("GenericAll")){ if (rel.includes("GenericAll")){
rights.append("GenericAll") rights.push("GenericAll")
} }
if (rel.includes("WriteDacl")){ if (rel.includes("WriteDacl")){
rights.append("WriteDacl") rights.push("WriteDacl")
} }
if (rel.includes("WriteOwner")){ if (rel.includes("WriteOwner")){
rights.append("WriteOwner") rights.push("WriteOwner")
} }
if (rel.includes("GenericWrite")){ if (rel.includes("GenericWrite")){
rights.append("GenericWrite") rights.push("GenericWrite")
} }
if (rel.includes("WriteProperty") && extright === "Member"){ if (rel.includes("WriteProperty") && extright === "Member"){
rights.append("AddMember") rights.push("AddMember")
} }
$.each(rights, function(index, record){ $.each(rights, function(index, record){