Project

General

Profile

Actions

Bug #24078

closed

Clone button not shown in hosts show view

Added by Peter Lehwess over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Even though the given user should have the rights to clone a host, the button is not displayed in the host show view. The action is available from the hosts index however which is what is expected.

This is only the case with the following roles set:

########
### Role 1
########
Architecture           view_architectures

Compute profile        view_compute_profile

Compute resource       view_compute_resources_vms,
                       create_compute_resources_vms,
                       edit_compute_resources_vms,
                       destroy_compute_resources_vms,
                       power_compute_resources_vms,
                       console_compute_resources_vm

Domain                 view_domains

Host class             edit_classes

Location               view_locations,
                       assign_locations

Medium                 view_media

Model                  view_model

Operatingsystem        view_operatingsystem

Organization           view_organizations,
                       assign_organizations

Parameter              view_params,
                       create_params,
                       edit_params,
                       destroy_param

Partition Table        view_ptables

Provisioning           template view_provisioning_template

Puppet class           view_puppetclasses

Smart class parameter  view_external_parameters

Smart proxy            view_smart_proxies,
                       view_smart_proxies_puppetc

Subnet                 view_subnets

User                   view_users

Usergroup              view_usergroups

########
### Role 2
########
Compute resource  view_compute_resources

Environment       view_environments

Host              view_hosts,
                  create_hosts,
                  edit_hosts,
                  destroy_hosts,
                  build_hosts,
                  power_hosts,
                  console_hosts,
                  puppetrun_hosts

########
### Role 3
########
(Miscellaneous)  access_dashboard

Fact value       view_facts

Report           view_reports
Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/5904 added
Actions #2

Updated by Marek Hulán over 5 years ago

  • Target version set to 1.20.0

This was present "forever" or at least since Foreman 1.5. I suppose this will get to 1.20 so setting target version accordingly.

Actions #3

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.20.0 added
Actions #4

Updated by Marek Hulán over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF