PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version
https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
allow restriction to an admin's domain permissions
- new protected variables:
$admin_username - if set, restrict $allowed_domains to this admin
$domain_field - column containing the domain
$allowed_domains - if $domain_field is set, this is an array with
the domain list
- __construct: new optional parameter $admin_username to restrict
allowed domains to this admin's permissions
- read_from_db(): handle $allowed_domains
- read_from_db(): fix query if $condition == ""
PS: Yes, I know some people would like to kill me for including
permission stuff in PFAHandler, but it's the best (and shortest,
only +20 lines) way to handle it.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1266 a1433add-5e2c-0410-b055-b7f2511e0802
|
14 years ago | |
|---|---|---|
| ADDITIONS | 15 years ago | |
| DOCUMENTS | 15 years ago | |
| VIRTUAL_VACATION | 15 years ago | |
| admin | 18 years ago | |
| configs | 14 years ago | |
| css | 15 years ago | |
| debian | 15 years ago | |
| images | 15 years ago | |
| languages | 14 years ago | |
| model | 14 years ago | |
| scripts | 14 years ago | |
| smarty | 15 years ago | |
| templates | 14 years ago | |
| tests | 15 years ago | |
| users | 14 years ago | |
| CHANGELOG.TXT | 15 years ago | |
| GPL-LICENSE.TXT | 19 years ago | |
| INSTALL.TXT | 15 years ago | |
| LICENSE.TXT | 15 years ago | |
| backup.php | 15 years ago | |
| broadcast-message.php | 15 years ago | |
| calendar.js | 16 years ago | |
| common.php | 14 years ago | |
| config.inc.php | 14 years ago | |
| create-admin.php | 14 years ago | |
| create-alias-domain.php | 15 years ago | |
| create-alias.php | 15 years ago | |
| create-domain.php | 14 years ago | |
| create-mailbox.php | 14 years ago | |
| delete.php | 15 years ago | |
| edit-active-admin.php | 15 years ago | |
| edit-active-domain.php | 15 years ago | |
| edit-active.php | 15 years ago | |
| edit-admin.php | 14 years ago | |
| edit-alias.php | 15 years ago | |
| edit-mailbox.php | 14 years ago | |
| fetchmail.php | 15 years ago | |
| functions.inc.php | 14 years ago | |
| index.php | 17 years ago | |
| list-admin.php | 15 years ago | |
| list-domain.php | 14 years ago | |
| list-virtual.php | 14 years ago | |
| login.php | 15 years ago | |
| logout.php | 17 years ago | |
| main.php | 16 years ago | |
| password.php | 15 years ago | |
| sendmail.php | 15 years ago | |
| setup.php | 14 years ago | |
| smarty.inc.php | 14 years ago | |
| upgrade.php | 15 years ago | |
| vacation.php | 15 years ago | |
| variables.inc.php | 15 years ago | |
| viewlog.php | 15 years ago | |
| xmlrpc.php | 15 years ago | |