Project

General

Profile

Bug #32396

Permissions for import/export

Added by Partha Aji about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Roles and Permissions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

With auto create functionality importing things into a content view requires multiple high level permissions currently including product create/update, repo create/update, cv create/update along with import_content_views. Handling this wide array of permissions adds complexity to the code

Proposal:
Change permissions needed to export and import content
  • To import you need organization 'import_content'
  • To export you need organization 'export_content'

Both are at org level so its amply clear to the user that its going to be creating stuff in the library that they have no control over.

Steps to address this proposal:

  • Scour through content_exports_controllers and content_import_controllers for permissions that need to be tweaked.
  • Add a 'Content Importer' role that only include organization 'import_content' permission
  • Add a 'Content Exporter' role that only include organization 'export_content' permission

Associated revisions

Revision 69864057 (diff)
Added by Lucy Fu 12 months ago

Fixes #32396 - Permissions for Import/Export (#9354)

History

#1 Updated by James Jeffers about 1 year ago

  • Triaged changed from No to Yes

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9354 added

#3 Updated by Jeremy Lenz 12 months ago

  • Triaged changed from Yes to No

#4 Updated by Samir Jha 12 months ago

  • Triaged changed from No to Yes

#5 Updated by The Foreman Bot 12 months ago

  • Fixed in Releases Katello 4.2.0 added

#6 Updated by Lucy Fu 12 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF