Add license management functionality and privacy policy banner

Introduced forms, controller, and model for license management in v1 API, enabling users to interact with license-related resources. Updated ACL to include permissions for licenses and global configuration for IPs and site settings. Added a fixed banner for the privacy and cookie policy to improve compliance with user consent requirements.
This commit is contained in:
2025-04-17 10:45:32 +02:00
parent b37be9f3b9
commit 94507eb91c
6 changed files with 158 additions and 4 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ class App_Model_Acl_AclRestV1 extends Zend_Acl
// ACL for user
$this->addRole(new Zend_Acl_Role('user'), 'unregistered')
->add(new Zend_Acl_Resource('emails'))
->allow('user', array('emails'));
->add(new Zend_Acl_Resource('licenze'))
->allow('user', array('emails','licenze'));
// ACL for administrator
$this->addRole(new Zend_Acl_Role('admin'), 'user')