Cacti user creation with graphs permission not working
Moderators: Developers, Moderators
Cacti user creation with graphs permission not working
Hello Guys,
We do encounter an issue on the latest cacti version (Version 1.2.24), when we create a user that has a limit viewing of
graph but we can't deny or restrict all graph of our devices even on the version (Version 1.2.23). Anyone can help us resolve this issue.
On this image, setting of user account.
User General Settings On this image, we can't restrict or deny the graph even I try to click deny or try using the drop down box using revoke but still not working it keep saying granted, it should be restricted, right?
User Graph Permission Below image is user settings.
User Settings Thank you so much for commenting.
We do encounter an issue on the latest cacti version (Version 1.2.24), when we create a user that has a limit viewing of
graph but we can't deny or restrict all graph of our devices even on the version (Version 1.2.23). Anyone can help us resolve this issue.
On this image, setting of user account.
User General Settings On this image, we can't restrict or deny the graph even I try to click deny or try using the drop down box using revoke but still not working it keep saying granted, it should be restricted, right?
User Graph Permission Below image is user settings.
User Settings Thank you so much for commenting.
Re: Cacti user creation with graphs permission not working
I have met the similar problem with few users. Try to create new user and test it on it.
Let the Cacti grow!
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cacti user creation with graphs permission not working
Hover over the word Granted, and you should be presented with a pop-up telling you why the Graph access is Granted.
Cacti in 1.2.24+ has 4 permission systems:
Cacti in 1.2.24+ has 4 permission systems:
- Restrictive - You must have access to either: Graph, or Graph Template + Host
- Permissive - You much have access to either: Graph, Graph Template or Host
- Device Based - You must have access to either the Graph or the Device
- Graph Template Based - You must have access to either: Graph or Graph Template
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Cacti user creation with graphs permission not working
Hello Witness,TheWitness wrote: ↑Sun Jun 11, 2023 8:57 am Hover over the word Granted, and you should be presented with a pop-up telling you why the Graph access is Granted.
Cacti in 1.2.24+ has 4 permission systems:
- Restrictive - You must have access to either: Graph, or Graph Template + Host
- Permissive - You much have access to either: Graph, Graph Template or Host
- Device Based - You must have access to either the Graph or the Device
Also, if you are a member of one or more User Groups, those Graph permissions are additive. The permission system works, you just have to find the right solution for your needs. The two most recent permissions systems were put in for the purposes of scalability with large Cacti installs with millions of Graphs.
- Graph Template Based - You must have access to either: Graph or Graph Template
As you see below image, the User only has access to the graph but when I try to login this account he/she still has a full view of all devices that I created on Cacti, it should be only granted on some graphs that the user only allowed to view but he/she has still full view of all graph which I can't limit it on the cacti.
Re: Cacti user creation with graphs permission not working
Hello Witness,Chaudiya wrote: ↑Sun Jun 11, 2023 8:06 pmHello Witness,TheWitness wrote: ↑Sun Jun 11, 2023 8:57 am Hover over the word Granted, and you should be presented with a pop-up telling you why the Graph access is Granted.
Cacti in 1.2.24+ has 4 permission systems:
- Restrictive - You must have access to either: Graph, or Graph Template + Host
- Permissive - You much have access to either: Graph, Graph Template or Host
- Device Based - You must have access to either the Graph or the Device
Also, if you are a member of one or more User Groups, those Graph permissions are additive. The permission system works, you just have to find the right solution for your needs. The two most recent permissions systems were put in for the purposes of scalability with large Cacti installs with millions of Graphs.
- Graph Template Based - You must have access to either: Graph or Graph Template
As you see below image, the User only has access to the graph but when I try to login this account he/she still has a full view of all devices that I created on Cacti, it should be only granted on some graphs that the user only allowed to view but he/she has still full view of all graph which I can't limit it on the cacti.
Graph_Permission.png
Please see below image, this is the account I create as you can see he/she can view all the graph which should be restricted to this user he/she can only view 4 to 6 graphs only or designated template or device. I am trying to restirct but not working on our current cacti. Do you have any sample? Hope you can help us.
Re: Cacti user creation with graphs permission not working
Start by making the Default policy Deny for Graphs, Devices and Graph Templates. Experiment till you figure it out. Hover over the Effective Permissions column for clues.
Before history, there was a paradise, now dust.
Re: Cacti user creation with graphs permission not working
Hello Osiris,
I already tried creating a policy that is all restricted but still the same. Do you have any blogs or videos that I can follow? I already tried something videos from youtube and blogs from google I follow their instructions but my current setup didn't work. Thanks
Re: Cacti user creation with graphs permission not working
Show a screen shot of the users page that will show deny from left to right.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 5 guests