[racktables-users] Re: Hiding attributes

  • From: Denis Ovsienko <infrastation@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 29 Jun 2010 18:49:34 +0400


29.06.2010, 18:39, "William Segura" <W.Segura@xxxxxx>:
> Our team has recently decided to re-evaluate RackTables.
>
> We would like to add attributes to items that contain administrative 
> usernames and passwords. The problem is, we would like to hide those 
> attributes from non-admin users while not hiding the device itself. We could 
> also hide attributes based on a tag on an item.
>
> Is there a way to do this in RackCode?

A way, that could work for you, is to have that information as a text file and 
to attach it to the objects. I recall, that there is some "hiding" logic in 
file handling code (and if it is missing somewhere, it is cheap to add such 
checks).

--
Denis Ovsienko

Other related posts: