Project

General

Profile

Actions

Bug #23331

closed

Permission edit_discovered_hosts interfere with edit_hosts

Added by Lukas Zapletal almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Method Authorizable#permission_name does not work with edit_discovered_hosts and will break core tests, because it expects to find "edit_hosts" while it pulls "edit_discovered_hosts". This fails randomly because it depends on SQL result order which is random.

Actions #1

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/428 added
Actions #2

Updated by Lukas Zapletal over 6 years ago

  • Project changed from Discovery to Foreman
  • Category changed from Discovery plugin to Users, Roles and Permissions
Actions #3

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5468 added
Actions #4

Updated by Marek Hulán over 6 years ago

  • Translation missing: en.field_release set to 353
  • Pull request deleted (https://github.com/theforeman/foreman_discovery/pull/428)
Actions #5

Updated by Lukas Zapletal over 6 years ago

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

Also available in: Atom PDF