Grant permissions to subtrees

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

ruben
Posts: 9
Joined: Thu Apr 12, 2007 9:27 am

Grant permissions to subtrees

Post by ruben »

Our cacti installation is used both internally and by (a few of) our customers. What we're trying to achieve is that we can easy grant access to the graphs of a specific customer to the user account of that customer.
Ideally the graph tree structure would look like this:

Code: Select all

Root
  |_Customers
  |  |_Customer_01
  |  |  |_Customer_01_Host_01
  |  |  |_Customer_01_Host_02
  |  |_Customer_02
  |  |  |_Customer_02_Host_01
  |  |_Customer_03
  |_Internal_Subtree_01
  |  |_Internal_Subtree_01_Host01
  |_Internal_Subtree_02
     |_Internal_Subtree_02_Host01
     |_Internal_Subtree_02_Host02
Currently building up this tree isn't the problem. The problem arrises when we want set the tree permissions for a given user account. In the user management console it only lists the (sub)trees directly under the root, but not the subtrees below them. Furthermore we don't really want Customer_01 to see the complete Customers tree, since they have no business knowing our other customers even if they dont have access to the actual graphs. So when Customer_01 logs into cacti, we want him/her to just the graphs/hosts/etc below Root->Customers->Customer_01.

Right now the solution we're using is to put the Customer_XY trees directly
under the root. But this clutters the tree too much to our likings, expecially with the number of customers that want access to their graphs growing drastically.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

could you please submit this request here : http://bugs.cacti.net ?

I'd also love to see this feature :wink:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
ruben
Posts: 9
Joined: Thu Apr 12, 2007 9:27 am

Post by ruben »

fmangeant wrote: could you please submit this request here : http://bugs.cacti.net ?
I hope the dev'ers wont kill me over this ;-) Since I started with an email to the list, was then instructed to post here, and now you're suggesting to post there. But the dev'ers seem nice enough to not mind it too much (I hope): http://bugs.cacti.net/view.php?id=1144
fmangeant wrote: I'd also love to see this feature :wink:
Being not alone might help my (our) case :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ruben wrote:
fmangeant wrote: could you please submit this request here : http://bugs.cacti.net ?
I hope the dev'ers wont kill me over this ;-) Since I started with an email to the list, was then instructed to post here, and now you're suggesting to post there. But the dev'ers seem nice enough to not mind it too much (I hope): http://bugs.cacti.net/view.php?id=1144
Well, that's the way the Cacti Group currently implements the "feature request acknowledgement workflow cycle" (wow, isn't it a nice title?). If your bug/feature request is assigned to any developer, it is very likely that it will be implemented.
Reinhard
fireman949
Posts: 11
Joined: Fri Apr 14, 2006 10:11 am
Location: MS

Re: Grant permissions to subtrees

Post by fireman949 »

ruben wrote: In the user management console it only lists the (sub)trees directly under the root, but not the subtrees below them. Furthermore we don't really want Customer_01 to see the complete Customers tree, since they have no business knowing our other customers even if they dont have access to the actual graphs. So when Customer_01 logs into cacti, we want him/her to just the graphs/hosts/etc below Root->Customers->Customer_01.
I'd also love to see the ability to grant permissions to sub-trees. Is there a 'vote' option for new enhancements?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

No vote required. We discussed this lately. If I remember correct, it has been assigned (plain text: we will try to implement it some time in the future; perhaps with next release which will be 088. But it's not on my personal todo list)
Reinhard
ruben
Posts: 9
Joined: Thu Apr 12, 2007 9:27 am

Post by ruben »

The bug associated with this wish has indeed been assigned to cigamit by The Witness.

Looking forward to see this having been implemented!
antifaction
Posts: 24
Joined: Fri Oct 05, 2007 2:12 pm

update

Post by antifaction »

any update on this? just curious because this is something I want to use as well. Thank you
cacti 0.8.7d
linux
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please have a look at the roadmap http://www.cacti.net/roadmap.php to see what we are busy with currently
Reinhard
mithandra
Posts: 46
Joined: Wed Jul 14, 2010 8:19 am

Post by mithandra »

anyone know when 8.8 will be released as its past the first quarter of 2010, checking the repository i cannot see any reference to 8.8 goes from 8.7 to 9

We are desperate for the feature at the moment.

thanks Mithandra
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I honestly can't say. Unfortunately, 087g took more time than anticipated. And it's holiday season (at least on the north half of the globe).
R.
User avatar
Rayzor
Posts: 1
Joined: Thu Dec 09, 2010 9:57 am
Location: Albany, NY

Re: Grant permissions to subtrees

Post by Rayzor »

I would love to see this feature implemented also. We're exactly in the same boat; currently having to build out unique tree sets for each user to see their graphs/hosts.

This was on target for 0.8.8 but which was due first quarter of 2010, but things have been quiet.
icmono
Posts: 1
Joined: Fri Feb 10, 2012 10:14 am

Re: Grant permissions to subtrees

Post by icmono »

Hi,

Any news regarding this feature? from what I can understand from the dev roadmap this is to be implemented in 1.1.0 in the third quarter of 2012. Is this correct?

Does anyone know how to do this now, or any points where I could get started on this mod.

Best regards.
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Re: Grant permissions to subtrees

Post by sini »

Before my tip a warn everybody to be careful with template modifications on already created graphs! Always backup!

So...because you can add permissions to user by graph template I duplicated the graph template "Interface - Traffic (bits/sec)" and renamed to "Interface - Traffic (bits/sec) Customer"
so you can give access to customer graphs which created with this specific customer template. With a lots of user it can be a pain but adding graphs one by one is more painful. On already created customer graphs I switch the graph template to a specific customer traffic clone graph.
Sini
BlastDV
Posts: 4
Joined: Mon Jul 07, 2014 2:17 pm

Re: Grant permissions to subtrees

Post by BlastDV »

Hi, I'm having the same need here.. Has been any progress on this feature? Is there any plugin to achieve this?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests