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.
postfixadmin/model
Christian Boltz 68c79b9013 PFAHandler.php:
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
..
AliasHandler.php PFAHandler, AliasHandler: 14 years ago
AliasdomainHandler.php model/AliasdomainHandler.php: 14 years ago
Config.php make Config.php a php5 compatible object; remove strict standards warnings 14 years ago
DomainHandler.php scripts/shells/domain.php: 14 years ago
Lang.php Move the classes "Config" and "Lang" to scripts/common.php to model/ 14 years ago
MailboxHandler.php MailboxHandler.php: 14 years ago
PFAHandler.php PFAHandler.php: 14 years ago
VacationHandler.php VacationHandler: 15 years ago