Project

General

Profile

Actions

Bug #11441

closed

Hammer does not check whether it get correct number of resources when translating name to id parameters

Added by Marek Hulán over 9 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #11303: Filter management with hamemr seems to be missing means of associating resource typeClosedEric Helms08/05/2015Actions
Actions

Also available in: Atom PDF