Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing real time tab in PFSense with restricted user #757

Open
clarcksp opened this issue Jan 9, 2023 · 1 comment
Open

Accessing real time tab in PFSense with restricted user #757

clarcksp opened this issue Jan 9, 2023 · 1 comment

Comments

@clarcksp
Copy link

clarcksp commented Jan 9, 2023

Hello friends.
I have E2Guardian installed on PFSense 2.6.0.
In one of the dashboard options we have the Real Time tab.
I created a login on the firewall to have access only to E2Guardian, allowing access to the modules:

WebCfg -Services: E2guardian package
WebCfg - Package: Edit
WebCfg - Package: Settings

In this way, the E2Guardian tab appeared, but the Real Time tab does not appear. And when I try to directly access the tab's path in the browser, it returns to the Index and the following message appears in the log:

/e2guardian_monitor.php:user@servidor attempted to access /e2guardian_monitor.php but does not have access to that page. Redirection to Index.php

Would anyone be able to help me in this situation?

@szrce
Copy link

szrce commented Jan 25, 2024

you can add manuel page in this file etc/inc/priv.defs.inc and you need the run generate-privdefs.php

and dont forget, if not include bellow line inside this page e2guardian_monitor.php , you need add

change page name and title for yourself, this example


##|+PRIV
##|*IDENT=page-services-dnsforwarder-editdomainoverride
##|*NAME=Services: DNS Forwarder: Edit Domain Override
##|*DESCR=Allow access to the 'Services: DNS Forwarder: Edit Domain Override' page.
##|*MATCH=services_dnsmasq_domainoverride_edit.php*
##|-PRIV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants