NetXMS Support Forum

English Support => General Support => Topic started by: Shaun_Swale on November 26, 2024, 01:35:01 PM

Title: Access Denied
Post by: Shaun_Swale on November 26, 2024, 01:35:01 PM
Hi

I attempted to grant "Everyone" read access to a couple of Dashboards.  Now I can't edit, move or delete those dashboards.  Every action results in "Access denied".

Any ideas on how to resolve?

Title: Re: Access Denied
Post by: uldis on December 02, 2024, 12:14:13 PM
hi, is the issue observed with user "admin" or with some newly created user? If latter, then please check user setting and also enable UI and system access rights.
Title: Re: Access Denied
Post by: Shaun_Swale on December 02, 2024, 12:17:56 PM
Quote from: uldis on December 02, 2024, 12:14:13 PMhi, is the issue observed with user "admin" or with some newly created user? If latter, then please check user setting and also enable UI and system access rights.
Both - Issue initially encountered with a newly created admin account, but the same behavior with the default admin account.
Title: Re: Access Denied
Post by: uldis on December 03, 2024, 10:45:56 AM
Hi, so first please try to reset system access rights to default for both groups. Then, if that fails you may wish to login as user system/system and access affected Dashboards. This is just a workaround to remedy current situation. We will check read only access functionality further. In the meanwhile, please let us know your feedback on suggested steps.

P.S. If user system is locked then you can unlock it with 'nxdbmgr  reset-system-account'
Title: Re: Access Denied
Post by: Shaun_Swale on December 03, 2024, 11:16:36 AM
Quote from: uldis on December 03, 2024, 10:45:56 AMHi, so first please try to reset system access rights to default for both groups. Then, if that fails you may wish to login as user system/system and access affected Dashboards. This is just a workaround to remedy current situation. We will check read only access functionality further. In the meanwhile, please let us know your feedback on suggested steps.

P.S. If user system is locked then you can unlock it with 'nxdbmgr  reset-system-account'
If i try to edit the dashboard or group, including changing access permissions, I get the same "Access Denied" error.  I have tried this as both the admin user that created the dashboard and group, and as the main default admin account.
Title: Re: Access Denied
Post by: uldis on December 06, 2024, 11:36:42 AM
Hi, could you pls let us know what OS are you using? Also, did you try to connect as user 'system' instead of 'admin' for dashboard access?
Title: Re: Access Denied
Post by: Shaun_Swale on December 06, 2024, 12:15:15 PM
Ubuntu 24.04.1

Currently unable to login with any account as [email protected] has now decided to die.  Think I might just try a different monitoring solution.
Title: Re: Access Denied
Post by: Alex Kirhenshtein on December 06, 2024, 12:26:32 PM
Quote from: Shaun_Swale on December 06, 2024, 12:15:15 PMUbuntu 24.04.1

Currently unable to login with any account as [email protected] has now decided to die.  Think I might just try a different monitoring solution.
To be honest, I'm not sure that other monitoring solution will work fine when backend database is dead.
Title: Re: Access Denied
Post by: Shaun_Swale on December 06, 2024, 12:36:48 PM
Quote from: Alex Kirhenshtein on December 06, 2024, 12:26:32 PM
Quote from: Shaun_Swale on December 06, 2024, 12:15:15 PMUbuntu 24.04.1

Currently unable to login with any account as [email protected] has now decided to die.  Think I might just try a different monitoring solution.
To be honest, I'm not sure that other monitoring solution will work fine when backend database is dead.
That's very true - Just wasn't expecting to need to monitor the monitoring system this much......
Title: Re: Access Denied
Post by: Alex Kirhenshtein on December 06, 2024, 12:41:20 PM
Normally you setup self-monitoring (free space, required processes) and notifications and that's it. Even when backend is down (there is even an internal event for that), NetXMS keep collecting metrics and process thresholds - so notifications will be sent anyway. Once backend is recovered - queued data is written back to the database. But yes, login will fail.
Title: Re: Access Denied
Post by: Shaun_Swale on December 06, 2024, 01:37:58 PM
DB issue resolved.  Logged in as system and was able to edit permissions and delete the group.  So issue seems to be the default admin user is lacking permissions somewhere......