Permission System Fixes: - Uncommented and updated module permissions - Added proper permission levels: read, write, delete, admin - Updated permission names from 'myobject' to 'declarationtva' - Fixed menu permission checks Permission Levels: - Read: Access to view declarations and periods - Write: Create and update declarations - Delete: Remove declarations and periods - Admin: Access to configuration and setup Access Control Updates: - Updated setup_mvp.php to use correct permission check - Updated declarationtvaindex.php to use correct permission check - Menu entries now use proper permission validation Testing Instructions: 1. Disable and re-enable the module to refresh permissions 2. Go to Home -> Users -> admin user 3. Check DeclarationTVA permissions are enabled 4. Try accessing the configuration page again The module should now be accessible with proper permissions! |
||
|---|---|---|
| .. | ||
| modDeclarationTVA.class.php | ||