Hi,
After enabling and installing the "Access Controls" module, the rule to prevent access to the "Access Controls" category is missing. Logically, this should be included by default.
Steps to reproduce the behavior:
1- Install Access Controls
2- Go to the Access Control plugin
3- Go to "List all rules"
4- Notice that the rule to prevent access to "Access Control" is not present
I added the rule this way on my server:
sudo mysql -D fog -e "INSERT INTO rules (ruleName, ruleType, ruleValue, ruleParent, ruleCreatedBy, ruleCreatedTime, ruleNode) SELECT 'MAIN_MENU-accesscontrol', 'MAIN_MENU', 'accesscontrol', 'main', 'fog', NOW(), '' FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM rules WHERE ruleValue='accesscontrol');"
Software information :
- FOG version 1.5.10.1660
- OS: Debian 12
Thanks in advance