Fix some ACL ingestion logic
parent
c4ffe06310
commit
73fa4260c3
|
@ -179,14 +179,18 @@ export function buildACLProps(rows) {
|
||||||
var btype = row.ObjectType.toTitleCase()
|
var btype = row.ObjectType.toTitleCase()
|
||||||
var atype = row.PrincipalType.toTitleCase()
|
var atype = row.PrincipalType.toTitleCase()
|
||||||
var rel = row.ActiveDirectoryRights
|
var rel = row.ActiveDirectoryRights
|
||||||
var extright = row.AccessControlType
|
var extright = row.ACEType
|
||||||
|
|
||||||
if (extright === 'All'){
|
if (extright === 'All'){
|
||||||
rel = "AllExtendedRights"
|
rel = "AllExtendedRights"
|
||||||
}else if (extright === 'User-Force-Change-Password'){
|
}else if (extright === 'User-Force-Change-Password'){
|
||||||
rel = "ForceChangePassword"
|
rel = "ForceChangePassword"
|
||||||
|
}else if (rel === "ExtendedRight"){
|
||||||
|
rel = extright
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rel = rel.replace(/-/g,"")
|
||||||
|
|
||||||
if (rel.includes('WriteOwner')){
|
if (rel.includes('WriteOwner')){
|
||||||
rel = 'WriteOwner'
|
rel = 'WriteOwner'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue