Actions
Bug #11441
closedHammer does not check whether it get correct number of resources when translating name to id parameters
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Description
When I run hammer like this
hammer -d filter create --permissions view_puppetclasses,create_puppetclasses,edit_puppetclasses,destroy_puppetclasses,import_puppetclasses --role demo2
hammer searches permissions to get their ids. Since there is not scope search support it get 30 records instead of expected 5 and he sends these permission as parameter_ids. I think we should check that we get expected number of parameters.
Actions