Hi,
OK, I understand, you already done a great job.
I am not a good programmer and don't understand everything on how pfSense is working (on developpement side) but I really need such feature so I will try to take some time to try to implement it (perhaps only for the packages that I need (incorporating it into pfSense base on my firewall) if I don't find a global solution, …).
For my case I only need to add a user management page under the captive portal (only for users of captiveportal group), so I will begin with this and try to do the pkg selector after this because I will be more interested to use Radius than local user manager, ...
For this I need some informations :
Where is located the list of "system privilegies" on the filesystem?
Is the informations below used for managing this on php files of pfSense :
1.
##|+PRIV
##|*IDENT=page-package-settings
##|*NAME=Package: Settings page
##|*DESCR=Allow access to the 'Package: Settings' page.
##|MATCH=pkg.php
##|-PRIV
2.
if (isAllowedPage("system_usermanager")) {}
How to add a menu item on pfsense (not using package)?
How to add a tab on a page ?
I have seen that it seems to be hardcoded using this "$tab_array = array();", so it says that I must modify every pages of captive portal. Is this right?