can not revoke access for new client

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
orko4u
Posts: 6
Joined: Fri Jan 23, 2015 12:55 pm

can not revoke access for new client

Post by orko4u »

PHP 5.4.16 (cli) (built: Nov 1 2019 16:04:20)
mysql Ver 15.1 Distrib 5.5.64-MariaDB, for Linux (x86_64) using readline 5.1
cacti-1.2.8-1.el7.noarch

need to create new user who can access only specific graphs . problem is, from "graph perms" tab when i am trying to select "Revoke Access" its not revoking access to any graphs. all graphs ar showing as "granted" and all user can see all graphs.

Image
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: can not revoke access for new client

Post by netniV »

Check the groups that the user is in as they are likely to be granting access.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: can not revoke access for new client

Post by TheWitness »

Do the following for Graph, Device, Device Template, and Tree Permissions, and the user will not be able to see Graphs or Devices. Then invert the selection selectively.
Attachments
Denied.PNG
Denied.PNG (8.95 KiB) Viewed 1950 times
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?
ZBRR
Posts: 7
Joined: Tue Jun 28, 2022 3:42 am

Re: can not revoke access for new client

Post by ZBRR »

TheWitness wrote: Tue Mar 10, 2020 7:36 am Do the following for Graph, Device, Device Template, and Tree Permissions, and the user will not be able to see Graphs or Devices. Then invert the selection selectively.
Hi, I have the same problem i tried to do what you say deny access and still the user have access to the graphs.
To make sure i created another user and the samething happend.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: can not revoke access for new client

Post by Osiris »

Change your permission system to be restrictive and not Permissive.
Before history, there was a paradise, now dust.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: can not revoke access for new client

Post by TheWitness »

The setting can be found in Console > Configuration > Settings > General. Image below.
Attachments
CactiPremissionsSystem.png
CactiPremissionsSystem.png (42.56 KiB) Viewed 1651 times
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?
ZBRR
Posts: 7
Joined: Tue Jun 28, 2022 3:42 am

Re: can not revoke access for new client

Post by ZBRR »

Yes it works. Thanks for the help.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests