Update ACL queries

master
Rohan Vazarkar 2017-02-28 15:22:28 -05:00
parent d36d3979c9
commit 380f825a52
1 changed files with 7 additions and 4 deletions

View File

@ -179,16 +179,19 @@ export function buildACLProps(rows) {
var btype = row.ObjectType.toTitleCase()
var atype = row.PrincipalType.toTitleCase()
var rel = row.ActiveDirectoryRights
var extright = row.AccessControlType
if (extright === 'All'){
rel = "AllExtendedRights"
}else if (extright === 'User-Force-Change-Password'){
rel = "ForceChangePassword"
}
var hash = (atype + rel + btype).toUpperCase()
if (btype === 'Computer') {
return
}
if (rel.includes(' ')) {
rel = 'WriteDACL'
}
if (datadict[hash]) {
datadict[hash].props.push({
account: a,