Actions
Feature #16383
closedAdd "builtin" search filter to roles
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Search
Target version:
-
Description
I needed test the assignment of built in roles but this field is not included on filters:
[root@****** ~]# hammer -u ****** -p ****** role filters -h Usage: hammer role filters [OPTIONS] Options: --id ID User role id --name NAME User role name --order ORDER sort results --page PAGE paginate results --per-page PER_PAGE number of entries per request -h, --help print help [root@****** ~]# hammer -u ****** -p ****** role info --id 9 Id: 9 Name: View hosts Builtin: No
So I checked if listing includes built info, so I could filter them after listing them all, but this info isn't there:
[root@****** ~]# hammer -u ****** -p ****** role list ---|--------------------------------------------------------------------------------- ID | NAME ---|--------------------------------------------------------------------------------- 61 | 38324258316265092573470022 81 | 4SYd2i 6 | Access Insights Admin 5 | Access Insights Viewer
So only way to accomplish that would be retrieving all roles and querying each one info by id to get this info, what would take longer than it need to.
So would be good having the possibility of filtering roles accordingly to its built in info.
Actions