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.
Updated by Dominic Cleal over 8 years ago
- Project changed from Hammer CLI to Foreman
- Subject changed from Role "Buiitin" filter to Add "builtin" search filter to roles
- Category set to Search
Updated by Tomáš Strachota over 8 years ago
- Blocked by Feature #16405: Allow scoped search on the builtin flag for roles added
Updated by Tomáš Strachota over 8 years ago
- Related to Feature #16406: Show builtin flag in roles list added
Updated by Dominic Cleal over 8 years ago
- Blocked by deleted (Feature #16405: Allow scoped search on the builtin flag for roles)
Updated by Dominic Cleal over 8 years ago
- Is duplicate of Feature #16405: Allow scoped search on the builtin flag for roles added
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Duplicate
Should have been fixed by #16405, allowing hammer role list --search "builtin = true"
Actions