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 8 years ago. Updated about 4 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 #1

Updated by Marek Hulán over 8 years ago

  • Related to Bug #11303: Filter management with hamemr seems to be missing means of associating resource type added
Actions #2

Updated by Tomáš Strachota over 8 years ago

  • Target version set to hammer-cli 0.6.0
Actions #3

Updated by Tomáš Strachota about 8 years ago

  • Target version changed from hammer-cli 0.6.0 to hammer-cli 0.7.0
Actions #4

Updated by Tomáš Strachota over 6 years ago

  • Target version deleted (hammer-cli 0.7.0)
Actions #5

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from New to Closed
  • Triaged changed from No to Yes

I wasn't be able to reproduce this issue. Under 'permission_ids' parameter were only 5 (as expected) ids.

Closing this one.

Actions

Also available in: Atom PDF