Project

General

Profile

Actions

Bug #6829

closed

Unable to delete repositories once published

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

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1091982
Description of problem:
Unable to delete repositories once published.

From /var/log/foreman/production.log

Processing by Katello::Api::V2::RepositoriesBulkActionsController#destroy_repositories as JSON
Parameters: {"ids"=>[193], "organization_id"=>"ACME_Corporation", "api_version"=>"v2", "repositories_bulk_action"=>{"ids"=>[193]}}
Katello::Errors::SecurityViolation: User admin is not allowed to access katello/api/v2/repositories_bulk_actions/destroy_repositories

Completed 403 Forbidden in 26ms (Views: 0.3ms | ActiveRecord: 4.1ms)

Version-Release number of selected component (if applicable):
Sat6-Beta-Snap2-Compose2

How reproducible:

Steps to Reproduce:
1.create repo and sync
2. attach/add to CV and publish
3. Unable to remove a repository once published

Actual results:

Unable to remove a repository once published and we get the below message:

"User admin is not allowed to access katello/api/v2/repositories_bulk_actions/destroy_repositories"

Expected results:

Need a help tip similar to product and "Remove Repository" needs to be greyed out similar to "Remove Products" once that particular repo is published.

Additional info:

Actions #1

Updated by The Foreman Bot over 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 54
  • Pull request https://github.com/Katello/katello/pull/4502 added
  • Pull request deleted ()
Actions #2

Updated by Partha Aji over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms over 10 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF