Project

General

Profile

Actions

Bug #5702

closed

(Roles Branch) v2 Content Views Controller index call ignoring environment id

Added by Partha Aji almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The index call in https://github.com/Katello/katello/blob/roles/app/controllers/katello/api/v2/content_views_controller.rb#L35 ignores the environment_id parameter when returning the results of the query. This causes New Activation Keys page to break because the "Content Views" section lists all the content views in Library even if the user selected a non library environment.

Try this rest call in postman to debug ..
http://<fqdn>/katello/api/v2/content_views?environment_id=<env_id>&full_result=true&organization_id=ACME_Corporation
Basically the result of this call should only return the content views in the selected environment -> <env_id>


Related issues 1 (0 open1 closed)

Blocks Katello - Feature #5217: As a user, I should have CRUD permissions for all entities that are exposed to me.Closed04/16/2014Actions
Actions #1

Updated by Partha Aji almost 10 years ago

  • Blocks Feature #5217: As a user, I should have CRUD permissions for all entities that are exposed to me. added
Actions #2

Updated by Partha Aji almost 10 years ago

  • Assignee changed from Walden Raines to Partha Aji
Actions #3

Updated by Partha Aji almost 10 years ago

  • Status changed from New to Closed
Actions #4

Updated by Eric Helms almost 10 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF