Add licenze-update resource and its controller

Introduced a new `licenze-update` resource and updated ACL to grant `user` role access to it. Added the `LicenzeUpdateController` with default methods implemented as no-ops. This prepares the system for future functionality related to updating licenses.
This commit is contained in:
2025-05-16 09:14:50 +02:00
parent 922c75589f
commit 019e305745
2 changed files with 41 additions and 1 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ class App_Model_Acl_AclRestV1 extends Zend_Acl
$this->addRole(new Zend_Acl_Role('user'), 'unregistered')
->add(new Zend_Acl_Resource('emails'))
->add(new Zend_Acl_Resource('licenze'))
->allow('user', array('emails','licenze'));
->add(new Zend_Acl_Resource('licenze-update'))
->allow('user', array('emails','licenze','licenze-update'));
// ACL for administrator
$this->addRole(new Zend_Acl_Role('admin'), 'user')