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.
40 lines
687 B
PHP
40 lines
687 B
PHP
<?php
|
|
|
|
class V1_LicenzeUpdateController extends App_Controller_Rest_Controller
|
|
{
|
|
|
|
public function init()
|
|
{
|
|
$this->_resourceName = 'Licenze';
|
|
parent::init();
|
|
}
|
|
|
|
public function getAction()
|
|
{
|
|
$this->disableCallAction();
|
|
}
|
|
|
|
public function postDispatch()
|
|
{
|
|
$this->disableCallAction();
|
|
}
|
|
|
|
public function patchAction()
|
|
{
|
|
$this->disableCallAction();
|
|
}
|
|
|
|
public function deleteAction()
|
|
{
|
|
$this->disableCallAction();
|
|
}
|
|
|
|
//-----------------------------------------------
|
|
|
|
public function switchMethodFunction($method)
|
|
{
|
|
$this->disableCallAction();
|
|
}
|
|
|
|
}//END CLASS
|