Compare commits

..
11 Commits
Author SHA1 Message Date
giacomo 8fdd99689f Allinemanto New Srv 2026-09-29 10:55:12 +02:00
giacomo 2ef92b62b2 Update shardj/zf1-future dependency to ^1.25.2 in composer.json 2026-09-03 12:14:13 +02:00
giacomo 21bf9acf48 Add "Identificativo DB" field to Log Licenze functionality
Added support for the "Identificativo DB" field across Log Licenze views, controller actions, and database operations. Updated UI elements, including table headers, rows, and search filters, to display and manage the new field.
2026-04-23 08:55:44 +02:00
giacomo 29a9c5116f Update homepage screenshot file to .png format
Replaced `home_screen.jpg` with `home_screen.png` and adjusted the related image reference in the homepage view.
2025-09-23 10:36:58 +02:00
giacomo 13b5f5f4e8 Update application for "Gestione Spiaggia 2026" branding and licensing changes
Updated all references from "GestioneSpiaggia.it" to "Gestione Spiaggia 2026". Revised branding, adjusted licensing structure to perpetual model, modified pricing and assistance details, and deprecated renewal options. Corrected text inconsistencies and improved documentation links.
2025-09-01 10:51:57 +02:00
giacomo 687ce4fe69 Update database host configuration to use 127.0.0.1
Changed `mysql.params.host` from `localhost` to `127.0.0.1` in `environment.ini` to ensure compatibility and consistency with MySQL connection settings.
2025-06-25 09:14:27 +02:00
giacomo 6498021c97 Update default sorting for log_licenze resource
Changed the default order field to 'DataInserimento' and the sorting type to 'DESC' to ensure logs are displayed with the most recent entries first. This improves data retrieval consistency and aligns with expected usage patterns.
2025-05-16 10:18:29 +02:00
giacomo 7e0c73fe93 Reorder "Identificativo DB" column in license tables.
Moved the "Identificativo DB" column to align with the correct order in both table headers and data rows for consistency. This improves the structure and readability of the license management interface.
2025-05-16 09:36:37 +02:00
giacomo 03c267a1b2 Update log messages in LicenzeController for clarity
Revised log message parameters in `afterInsertElement` and `afterUpdateElement` to provide more descriptive context. This improves the clarity and understanding of logged events.
2025-05-16 09:29:26 +02:00
giacomo 019e305745 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.
2025-05-16 09:14:50 +02:00
giacomo 922c75589f Refactor licensing section to enhance consistency and functionality
Updated resource name capitalization and added a new form for licenses. Improved modal UI to replace text inputs with a dropdown for 'Disattivo'. Adjusted backend to ensure proper data retrieval and display alignment.
2025-04-30 09:47:40 +02:00
26 changed files with 179 additions and 85 deletions
+1 -1
View File
@@ -13,5 +13,5 @@ interrutore_services = "on"
interrutore_testdb = "off"
interrutore_paypal_test = "off"
interrutore_stripe_test = "off"
ip_server = "185.31.65.139"
ip_server = "217.61.37.177"
interrutore_email_services = "on"
+1 -1
View File
@@ -5,7 +5,7 @@ baseUrlSite = "https://gestionespiaggia.it"
password_salt = "gs108_"
site_short_id = "gs"
mysql.params.host="localhost"
mysql.params.host="127.0.0.1"
mysql.params.username = "gestionespiaggia_user"
mysql.params.password = "Winfatt108"
mysql.params.dbname = "gestionespiaggia_main"
@@ -7,7 +7,7 @@ class Application_ControllerSection_Admin_Index_Licenze extends App_Controller_S
public function __construct(App_Controller_Sections_Section $controller)
{
// $this->_moduleName = 'admin';
$this->_resourceName = 'licenze';
$this->_resourceName = 'Licenze';
//Usato per abilitare la sezione filtri
$this->_enableModalFilter = false;
@@ -0,0 +1,17 @@
<?php
class Application_Form_Admin_Index_Licenze_Add extends Zend_Form
{
public function init()
{
$this->addElement('text', 'Disattivo',
array(
'filters' => array('StringTrim')
)
);
}
}
+1 -1
View File
@@ -16,7 +16,7 @@
<title><?= $this->title; ?></title>
<?php if ($this->action == 'downloadsoftware'): ?>
<meta http-equiv="refresh" content="0;url=https://www.gestionespiaggia.it/downloads/gestionespiaggiaitinstall.exe">
<meta http-equiv="refresh" content="0;url=https://www.gestionespiaggia.it/downloads/gestionespiaggia2026install.exe">
<?php endif; ?>
<!-- Favicons -->
@@ -57,13 +57,8 @@
<!-- List -->
<ul class="list-unstyled text-muted mb-6 mb-md-8 mb-lg-0">
<li class="mb-1">
<a href="#!" class="text-reset">
Licenza Primo Anno
</a>
</li>
<li class="mb-1">
<a href="#!" class="text-reset">
Rinnovo
<a href="<?= $this->url(['action' => 'acquista'], 'it', true); ?>" class="text-reset">
Licenza
</a>
</li>
</ul>
@@ -124,7 +119,7 @@
</a>
</li>
<li class="mb-1">
<a href="https://www.gestionespiaggia.it/documents/licenza-GestioneSpiaggia.it.pdf" target="_blank"
<a href="https://www.gestionespiaggia.it/documents/licenza-GestioneSpiaggia2026.pdf" target="_blank"
class="text-reset">
Licenza d'uso
</a>
+2 -2
View File
@@ -5,8 +5,8 @@ class Application_Model_Resources_LogLicenze extends App_Model_Resource_Abstract
protected $_name = 'log_licenze';
protected $_primary = 'id';
protected $_defaultOrder = 'id';
protected $_defaultTipoOrder = 'ASC';
protected $_defaultOrder = 'DataInserimento';
protected $_defaultTipoOrder = 'DESC';
/************** METODI SPECIALIZZATI *******************/
@@ -86,12 +86,13 @@ class Admin_IndexController extends App_Controller_Sections_Section
public function indexAction()
{
$this->_EVENTLOADER = 'dashboard';
// $this->_ANGULARJS_MODULE_NAME = 'dashboard';
// $this->_ANGULARJS_MODULE_NAME = 'dashboard';
$this->render('dashboard');
}
public function infoAction(){
public function infoAction()
{
$this->_helper->getHelper('layout')->disableLayout();
$this->_helper->viewRenderer->setNoRender();
@@ -208,6 +209,54 @@ class Admin_IndexController extends App_Controller_Sections_Section
}
}
public function testrootAction()
{
$this->getHelper('layout')->disableLayout();
$this->getHelper('viewRenderer')->setNoRender();
$userHostAdapter = new Zend_Db_Adapter_Pdo_Mysql([
'host' => '127.0.0.1',
'username' => 'root',
'password' => 'Adriatica108-110@',
'dbname' => 'gestionespiaggia_test',
'charset' => 'utf8'
]);
try {
// $res = $userHostAdapter->query("CREATE DATABASE IF NOT EXISTS gestionespiaggia_test")->fetch();
// $res = $userHostAdapter->query("GRANT ALL PRIVILEGES ON `gestionespiaggia\_test`.* TO `gestionespiaggia`@`localhost`")->fetch();
// $res = $userHostAdapter->query("SELECT user, host FROM mysql.user;")->fetchAll();
// $res = $userHostAdapter->query("SHOW DATABASES;")->fetchAll();
// $res = $userHostAdapter->query("SHOW GRANTS FOR 'gestionespiaggia'@'localhost';")->fetchAll();
/*$res = $userHostAdapter->query("SELECT
schema_name AS database_name,
default_character_set_name AS charset,
default_collation_name AS collation
FROM information_schema.schemata;")->fetchAll();*/
/*$res = $userHostAdapter->query("SELECT
user,
host,
Super_priv,
Create_priv,
Drop_priv,
Grant_priv,
Select_priv,
Insert_priv,
Update_priv,
Delete_priv
FROM mysql.user;")->fetchAll();*/
echo "<pre>" . print_r($res, true) . "</pre>";
} catch (Exception $e) {
echo "<pre>" . print_r($e, true) . "</pre>";
}
}
private function checkNullValue($value)
{
return (!$value || strtolower($value) === 'null') ? null : $value;
@@ -11,7 +11,7 @@
<div class="modal-header">
<h5 class="modal-title flot-left" id="myModalLabel"><i
class="fa fa-fw <?= ($this->iconTitle) ? $this->iconTitle : 'fa-pencil'; ?> modal_icon"></i>
Email Template</h5>
Licenza</h5>
<button id="close-modal" type="button" class="close float-right" data-dismiss="modal"
aria-hidden="true">&times;
</button>
@@ -34,21 +34,14 @@
</div>
<div class="col-12">
<div id="Codice" class="form-group row">
<label for="Codice" class="col-sm-2 col-form-label">Codice</label>
<div id="Disattivo" class="form-group row">
<label for="Disattivo" class="col-sm-2 col-form-label">Disattivo</label>
<div class="col-sm-10">
<input type="text" value="" class="form-control" id="Codice" placeholder="" name="Codice">
<!-- Contenitore per la descrizione degli errori -->
<div id="input-error" class="label label-danger hidden"></div>
</div>
</div>
</div>
<div class="col-12">
<div id="Nome" class="form-group row">
<label for="Nome" class="col-sm-2 col-form-label">Nome</label>
<div class="col-sm-10">
<input type="text" value="" class="form-control" id="Nome" placeholder="" name="Nome">
<select id="Disattivo" name="Disattivo" class="form-control">
<option value="">Scegli...</option>
<option value="1">Si</option>
<option value="0">No</option>
</select>
<!-- Contenitore per la descrizione degli errori -->
<div id="input-error" class="label label-danger hidden"></div>
</div>
@@ -2,10 +2,6 @@
<td class="text-center"><input type="checkbox" value="<?= $this->id ?>" name="select-elements[]"
id="select-elements"></td>
<td>
<?= $this->IdentificativoDB; ?>
</td>
<td>
<?= $this->RagioneSociale; ?>
</td>
@@ -22,6 +18,10 @@
<?= $this->Chiave; ?>
</td>
<td>
<?= $this->IdentificativoDB; ?>
</td>
<td>
<?= $this->IdentificativoPC; ?>
</td>
@@ -36,10 +36,10 @@
<td>
<div class="text-center">
<!-- <button id="edit" class="btn btn-sm btn-brand btn-flat" type="button" data-toggle="tooltip"
<button id="edit" class="btn btn-sm btn-brand btn-flat" type="button" data-toggle="tooltip"
data-container="body" title="Apri Scheda">
<span class="far fa-file fa-fw"></span>
</button>-->
</button>
<button id="delete" class="btn btn-sm bg-gray btn-flat" type="button" data-toggle="tooltip"
data-container="body" title="Elimina">
<span class="fa fa-trash fa-fw"></span>
@@ -11,11 +11,11 @@
</div>
</div>
</th>
<th data-ord="IdentificativoDB" width="150px">Identificativo DB</th>
<th data-ord="RagioneSociale">Ragione Sociale</th>
<th data-ord="PartitaIva" width="130px">Partita Iva</th>
<th data-ord="CodiceFiscale" width="160px">Codice Fiscale</th>
<th data-ord="Chiave" width="200px">Chiave</th>
<th data-ord="IdentificativoDB" width="150px">Identificativo DB</th>
<th data-ord="IdentificativoPC" width="300px">Identificativo PC</th>
<th data-ord="Versione" width="100px">Versione</th>
<th data-ord="Disattivo" width="75px">Disattivo</th>
@@ -20,9 +20,9 @@
</div>
<div class="col-12 col-md-2 no-padding-r-l-sm">
<input type="text" id="Descrizione_search" name="Descrizione" value="<?= $this->search_params['Descrizione']; ?>"
class="form-control no-border-right-sm" placeholder="Descrizione"/>
<input type="hidden" id="Descrizione_search" name="DescrizioneOP" value="LIKE">
<input type="text" id="IdentificativoDB_search" name="IdentificativoDB" value="<?= $this->search_params['IdentificativoDB']; ?>"
class="form-control no-border-right-sm" placeholder="Identificativo DB"/>
<input type="hidden" id="IdentificativoDB_search" name="IdentificativoDBOP" value="LIKE">
</div>
<div class="col-12 col-md-2 no-padding-r-l-sm">
@@ -26,6 +26,10 @@
<?= $this->IdentificativoPC; ?>
</td>
<td>
<?= $this->IdentificativoDB; ?>
</td>
<!--<td>
<div class="text-center">
<button id="edit" class="btn btn-sm btn-brand btn-flat" type="button" data-toggle="tooltip"
@@ -17,5 +17,6 @@
<th data-ord="PartitaIva" width="130px">Partita Iva</th>
<th data-ord="CodiceFiscale" width="160px">Codice Fiscale</th>
<th data-ord="IdentificativoPC" width="300px">Identificativo PC</th>
<th data-ord="IdentificativoDB" width="300px">Identificativo DB</th>
<!--<th width="100px"></th>-->
</tr>
@@ -219,11 +219,12 @@ class Default_IndexController extends Zend_Controller_Action
public function shopAction()
{
$shop_urls = [
'primoanno' => "https://cart.adriaticasistemi.it/shop/8391003e59078f96c79c18e0efb24f64/GestioneSpiaggia.it - Primo Anno/600",
'rinnovo' => "https://cart.adriaticasistemi.it/shop/ac1e5ba6ea36f59a727a3e89d3fbc702/GestioneSpiaggia.it - Rinnovo annuale/100"
// 'primoanno' => "https://cart.adriaticasistemi.it/shop/8391003e59078f96c79c18e0efb24f64/GestioneSpiaggia.it - Primo Anno/600",
// 'rinnovo' => "https://cart.adriaticasistemi.it/shop/ac1e5ba6ea36f59a727a3e89d3fbc702/GestioneSpiaggia.it - Rinnovo annuale/100",
'2026' => "https://cart.adriaticasistemi.it/shop/01b5b8b78b77d2a0719ceb206a7e67ed/Gestione%20Spiaggia%202026%20-%20Licenza%20perpetua/800"
];
$articolo = $this->_getParam('articolo', 'nuovalicenza');
$articolo = $this->_getParam('articolo', '2026');
$this->view->shopUrl = $shop_urls[$articolo];
}
@@ -21,7 +21,7 @@
<!-- Heading -->
<h2 class="display-3 text-white">
Acquista Gestione Spiaggia
Acquista Licenza
</h2>
</div>
@@ -53,20 +53,20 @@
<!-- Preheading -->
<div class="text-center mb-3">
<span class="badge rounded-pill bg-primary">
<span class="h6 text-uppercase text-white">Licenza Primo Anno</span>
<span class="h6 text-uppercase text-white">Gestione Spiaggia 2026</span>
</span>
</div>
<!-- Price -->
<div class="d-flex justify-content-center">
<span class="h2 mb-0 mt-2">€</span>
<span class="price display-2 mb-0" data-annual="0" data-monthly="0">600</span>
<span class="price display-2 mb-0" data-annual="0" data-monthly="0">800</span>
<span class="h2 align-self-end mb-1 ms-2"> + iva</span>
</div>
<!-- Text -->
<p class="text-center text-muted mb-5">
Prezzo licenza primo anno
prezzo una tantum
</p>
<!-- List -->
@@ -93,13 +93,13 @@
<!-- Text -->
<p class="mb-5">
Assistenza telefonica
Assistenza telefonica <small>(inclusa il primo anno)</small>
</p>
</div>
<!-- Button -->
<a href="<?= $this->url(['action' => 'shop','articolo' => 'primoanno'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
<a href="<?= $this->url(['action' => 'shop','articolo' => '2026'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
Acquista <i class="fe fe-arrow-right ms-3"></i>
</a>
@@ -108,40 +108,33 @@
</div>
<div class="col-12 col-md-6">
<!--<div class="col-12 col-md-6">
<!-- Card -->
<div class="card shadow-lg mb-6 mb-md-0">
<div class="card-body">
<!-- Preheading -->
<div class="text-center mb-3">
<span class="badge rounded-pill bg-primary">
<span class="h6 text-uppercase text-white">Rinnovo Licenza</span>
</span>
</div>
<!-- Price -->
<div class="d-flex justify-content-center">
<span class="h2 mb-0 mt-2">€</span>
<span class="price display-2 mb-0" data-annual="0" data-monthly="0">100</span>
<span class="h2 align-self-end mb-1 ms-2"> + iva</span>
</div>
<!-- Text -->
<p class="text-center text-muted mb-5">
Prezzo anni successivi
</p>
<!-- List -->
<div class="d-flex">
<!-- Badge -->
<div class="badge badge-rounded-circle bg-success-soft mt-1 me-4">
<i class="fe fe-check"></i>
</div>
<!-- Text -->
<p class="mb-5">
Tutte le funzionalità
</p>
@@ -150,27 +143,24 @@
<div class="d-flex">
<!-- Badge -->
<div class="badge badge-rounded-circle bg-success-soft mt-1 me-4">
<i class="fe fe-check"></i>
</div>
<!-- Text -->
<p class="mb-5">
Assistenza telefonica
</p>
</div>
<!-- Button -->
<a href="<?= $this->url(['action' => 'shop','articolo' => 'rinnovo'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
<a href="<?php /*= $this->url(['action' => 'shop','articolo' => 'rinnovo'], 'it', true); */?>" class="btn w-100 btn-primary text-white lift ms-auto">
Acquista <i class="fe fe-arrow-right ms-3"></i>
</a>
</div>
</div>
</div>
</div>-->
</div> <!-- / .row -->
</div> <!-- / .container -->
@@ -220,9 +210,9 @@
<!-- Text -->
<p class="text-gray-800 mb-6 mb-md-8">
Per acquistare la licenza o il rinnovo ti basta cliccare sul prodotto e una volta
Per acquistare la licenza basta cliccare sul prodotto e una volta
aperto il carrello seguire la semplice procedura di acquisto, al termine del pagamento riceverei una
mail con i dati di attivzione entro 24 ore.
mail con i dati di attivazione.
</p>
<!-- Heading -->
@@ -239,6 +229,9 @@
<small>I codici delle licenze sono calcolati in base alla partita iva della
vostra azienda, ed una volta concessa non può più essere modificata.</small>
</span>
<span class="text-muted mt-1">
<small>Per l'attivazione e l'utilizzo del software è necessaria una connessione internet.</small>
</span>
</p>
</div>
@@ -251,7 +244,7 @@
<!-- Text -->
<p class="text-gray-800 mb-10">
La licenza ha la durata di 1 anno (dal 1 gennaio al 31 dicembre) e può essere acquistata dal 1 settembre dell'anno precedente al periodo di validità.
La durata della licenza Gestione Spiaggia 2026 non ha scadenza.
</p>
<!-- Heading -->
@@ -36,7 +36,7 @@
</p>
<p class="fs-lg text-gray-800 mb-4 mb-md-4">
Per GestioneSpiaggia.it l'assistenza è inclusa per tutta la durata della licenza.
Per Gestione Spiaggia 2026 l'assistenza è inclusa per il primo anno.
</p>
<p class="fs-lg text-gray-800 mb-6 mb-md-8">
@@ -66,8 +66,8 @@
<!-- Badge -->
<span class="badge badge-rounded-circle bg-primary-soft mt-1 me-4"><i class="fe fe-file"></i></span>
<!-- Text -->
<a class="text-gray-800" target="_blank" href="https://www.gestionespiaggia.it/downloads/manuali/gestionespiaggia.pdf">
Manuale Gestione Spiaggia.it
<a class="text-gray-800" target="_blank" href="https://www.gestionespiaggia.it/downloads/manuali/gestionespiaggia2026.pdf">
Manuale Gestione Spiaggia 2026
</a>
</div>
@@ -26,7 +26,7 @@
<!-- Text -->
<p class="fs-lg text-gray-200 mb-6 mb-md-8">
è in corso il download del software GestioneSpiaggia.it<br>
è in corso il download del software Gestione Spiaggia 2026<br>
in caso non dovesse avviarsi automaticamente utilizzare il pulsante.
</p>
@@ -17,7 +17,7 @@
<!-- Image -->
<div class="img-skewed img-skewed-start mb-8 mb-md-0">
<img src="assets/img/screenshots/desktop/home_screen.jpg" alt="..."
<img src="assets/img/screenshots/desktop/home_screen.png" alt="..."
class="screenshot img-fluid mw-md-130" data-aos="img-skewed-item-start" data-aos-delay="100">
</div>
@@ -26,14 +26,14 @@
<!-- Heading -->
<h1 class="display-3">
Gestione
<span class="text-primary">Spiaggia</span>
Gestione Spiaggia
<span class="text-primary">2026</span>
</h1>
<!-- Text -->
<p class="lead text-muted mb-6 mb-md-8">
Intuitivo e di facile uso, GestioneSpiaggia.it vi permetterà di gestire con pochi click gli affitti
dello stabilimento balnare.
Intuitivo e di facile uso, Gestione Spiaggia 2026 vi permetterà di gestire con pochi click gli affitti
dello stabilimento balneare.
</p>
<!-- Buttons -->
@@ -132,7 +132,7 @@
</h3>
<!-- Text -->
<p class="text-muted mb-0">Statistiche con possibilità di un contronto grafico tra più anni, sia degli
<p class="text-muted mb-0">Statistiche con possibilità di un confronto grafico tra più anni, sia degli
incassi che dell’utilizzo delle attrezzature.</p>
</div>
@@ -172,21 +172,20 @@
<!-- Text -->
<p class="fs-lg text-gray-700 mb-6">
Intuitivo e di facile uso, GestioneSpiaggia.it vi permetterà di gestire con pochi click gli affitti
dello stabilimento balnare.
Intuitivo e di facile uso, Gestione Spiaggia 2026 vi permetterà di gestire con pochi click gli affitti
dello stabilimento balneare.
</p>
<p class="fs-lg text-gray-700 mb-6">
E' possibile personalizzare la spiaggia, disegnandola a proprio piacimento con la possibilità di
E' possibile personalizzare la spiaggia, disegnandola a proprio piacimento con l'opportunità di
utilizzare grafiche personali.
</p>
<p class="fs-lg text-gray-700 mb-6">
Nessun limite sulla quantità di ombrelloni gestibili, GestioneSpiaggia.it provvederà a dimensionare
Nessun limite sulla quantità di ombrelloni gestibili, Gestione Spiaggia 2026 provvederà a dimensionare
le grafiche in base allo schermo con cui si lavora.
</p>
</div>
</div> <!-- / .row -->
</div> <!-- / .container -->
@@ -28,13 +28,13 @@ class V1_LicenzeController extends App_Controller_Rest_Controller
public function afterInsertElement($data)
{
// Inserimento record di Log
$this->inserimentoRecordDiLog($data, 'Inserimento');
$this->inserimentoRecordDiLog($data, 'Inserimento dati licenza');
return $data;
}
public function afterUpdateElement($data)
{
$this->inserimentoRecordDiLog($data, 'Aggiornamento');
$this->inserimentoRecordDiLog($data, 'Inserimento dati licenza');
return $data;
}
@@ -43,6 +43,7 @@ class V1_LicenzeController extends App_Controller_Rest_Controller
$this->_genericModel->insert('LogLicenze', [
'Descrizione' => $op,
'IdentificativoPC' => $data['IdentificativoPC'],
'IdentificativoDB' => $data['IdentificativoDB'],
'PartitaIva' => $data['PartitaIva'],
'CodiceFiscale' => $data['CodiceFiscale']
]);
@@ -0,0 +1,39 @@
<?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
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "project",
"license": "proprietary",
"require": {
"shardj/zf1-future": "^1.19.5"
"shardj/zf1-future": "^1.25.2"
},
"authors": [
{
@@ -174,6 +174,7 @@ abstract class App_Controller_Sections_AbstractSection
$dati = $this->afterUpdateFunction($dati, $id);
}
$dati = $this->_model->getById($this->_resourceName, $id);
$this->_controller->view->assign($dati);
$this->_controller->render(strtolower($this->_resourceName) . '/td');
+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')
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 573 KiB