fixed permission search on relevant lists

This commit is contained in:
John Mitchell 2015-08-19 09:52:47 -04:00
parent e1138dc261
commit 0bb15abd65
3 changed files with 33 additions and 3 deletions

View File

@ -157,7 +157,17 @@ export default
},
permission_type: {
label: 'Permission',
ngBind: 'getPermissionText()'
ngBind: 'getPermissionText()',
searchType: 'select',
searchOptions: [
{ name: "Read Inventory", value: "read" },
{ name: "Edit Inventory", value: "write" },
{ name: "Administrate Inventory", value: "admin" },
{ name: "Deploy to Inventory", value: "run" },
{ name: "Deploy to Inventory (Dry Run)", value: "check" },
{ name: "Scan an Inventory", value: "scan" },
{ name: "Create a Job Template", value: "create" }
]
}
},

View File

@ -212,7 +212,17 @@ export default
},
permission_type: {
label: 'Permission',
ngBind: 'getPermissionText()'
ngBind: 'getPermissionText()',
searchType: 'select',
searchOptions: [
{ name: "Read Inventory", value: "read" },
{ name: "Edit Inventory", value: "write" },
{ name: "Administrate Inventory", value: "admin" },
{ name: "Deploy to Inventory", value: "run" },
{ name: "Deploy to Inventory (Dry Run)", value: "check" },
{ name: "Scan an Inventory", value: "scan" },
{ name: "Create a Job Template", value: "create" }
]
}
},

View File

@ -37,7 +37,17 @@
},
permission_type: {
label: 'Permission',
ngBind: 'getPermissionText()'
ngBind: 'getPermissionText()',
searchType: 'select',
searchOptions: [
{ name: "Read Inventory", value: "read" },
{ name: "Edit Inventory", value: "write" },
{ name: "Administrate Inventory", value: "admin" },
{ name: "Deploy to Inventory", value: "run" },
{ name: "Deploy to Inventory (Dry Run)", value: "check" },
{ name: "Scan an Inventory", value: "scan" },
{ name: "Create a Job Template", value: "create" }
]
}
},