Project

General

Profile

Bug #18832

Make sure permissions are present before test execution

Added by Ondřej Pražák about 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Foreman's Role#add_permissions! method checks if the permissions already exist in database. Katello sets up role with permissions for tests in auth_support, but does not make sure that permissions actually exist, which leads to test failures if permissions were not created.

Associated revisions

Revision 88762925 (diff)
Added by Ondřej Pražák about 2 years ago

Fixes #18832 - Create permissions before test execution

Revision 6b169375 (diff)
Added by Ondřej Pražák about 2 years ago

Refs #18832 - Improve permission setup before tests

Revision 1040567e (diff)
Added by Ondřej Pražák about 2 years ago

Refs #18832 - Manifest permission mapping for test

History

#1 Updated by The Foreman Bot about 2 years ago

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

#2 Updated by Ondřej Pražák about 2 years ago

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

#3 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6663 added

#4 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6670 added

#5 Updated by Justin Sherrill about 2 years ago

  • Category set to Tests
  • Legacy Backlogs Release (now unused) set to 211

Also available in: Atom PDF