mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
e39d13aa52db91905bca1c98a6517a8b45f1e6e4
Add $can_edit and $can_delete flags. This makes it possible to make some, but not all items non-editable or non-deletable (based on a database column/query or read_from_db_postprocess()) - add $can_edit and $can_delete - after initStruct, check if $struct contains _can_edit and _can_delete. If not, fill with default values (allowed) - init(): set $this->can_edit and $this->can_delete (only in view/edit mode) - set(): abort if !$this->can_edit git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1716 a1433add-5e2c-0410-b055-b7f2511e0802
this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test
Description
PostfixAdmin - веб-интерфейс виртуального администрирования пользователей для почтовых серверов Postfix
26 MiB
0 Stars
1 Watchers
0 Forks
Languages
PHP
82.3%
Go Template
8.8%
Shell
4.1%
Perl
4.1%
Python
0.5%