check security level

This commit is contained in:
Roland Gruber 2011-04-25 17:56:34 +00:00
parent c6f8cb40eb
commit caab3a15b5
1 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,9 @@ class imapAccess extends baseModule {
*/
function display_html_attributes() {
$return = new htmlTable();
if (!checkIfWriteAccessIsAllowed()) {
return $return;
}
$prefix = $this->getMailboxPrefix();
$email = '';
@ -312,6 +315,9 @@ class imapAccess extends baseModule {
*/
function process_attributes() {
$errors = array();
if (!checkIfWriteAccessIsAllowed()) {
return $errors;
}
$prefix = $this->getMailboxPrefix();
$imap_server_address = $this->getServerAddress();