Project

General

Profile

Actions

Feature #354

closed

The included classes list on the "Edit Host" page should indicate which classes are inherited

Added by Bash Shell almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As of now, the included classes list just shows a red circle to indicate that the class can be removed.

This is misleading as classes inherited from Hostgroups cannot be removed.
(The class shows up as removed on the Edit page, but the YAML still includes it)

It would be better if the list did not have a link to remove inherited classes.
Only additional classes that the user added should have the remove link and icon.

Thanks

Actions #1

Updated by Ohad Levy almost 14 years ago

  • Status changed from New to Need more information

I'm not sure I'm following, at the moment:
You can add and remove classes on the host level

You can assign a host group to a host but you can't remove a class which is defined in a host group in the host level.

Actions #2

Updated by Bash Shell almost 14 years ago

Thats right, you can't remove a class defined at the Hostgroup level, but the UI gives the impression that you can remove...

Actions #3

Updated by Ohad Levy almost 14 years ago

Bash Shell wrote:

Thats right, you can't remove a class defined at the Hostgroup level, but the UI gives the impression that you can remove...

How would you change it ? currently its plain text, and when you hover it tells you that it was inherited from the host group.

I think its important to show it, as one might forget which classes are applied via the host group

Actions #4

Updated by Bash Shell almost 14 years ago

But there is also a Link (with the Red circle) that I can click that gives the impression that I've removed the class.

(I hope this is not some bug I am experiencing?)

Actions #5

Updated by Ohad Levy almost 14 years ago

Bash Shell wrote:

But there is also a Link (with the Red circle) that I can click that gives the impression that I've removed the class.

(I hope this is not some bug I am experiencing?)

the link should exists only for classes that you added on the host level, double check if you didnt include the same class twice (onces in the host level, another in the group)

Actions #6

Updated by Bash Shell almost 14 years ago

My bad... I was setting classes at both levels for some hosts.

Please close the ticket.

Actions #7

Updated by Ohad Levy over 13 years ago

  • Status changed from Need more information to Closed
Actions

Also available in: Atom PDF