check security level
This commit is contained in:
parent
c6f8cb40eb
commit
caab3a15b5
|
@ -169,6 +169,9 @@ class imapAccess extends baseModule {
|
||||||
*/
|
*/
|
||||||
function display_html_attributes() {
|
function display_html_attributes() {
|
||||||
$return = new htmlTable();
|
$return = new htmlTable();
|
||||||
|
if (!checkIfWriteAccessIsAllowed()) {
|
||||||
|
return $return;
|
||||||
|
}
|
||||||
$prefix = $this->getMailboxPrefix();
|
$prefix = $this->getMailboxPrefix();
|
||||||
|
|
||||||
$email = '';
|
$email = '';
|
||||||
|
@ -312,6 +315,9 @@ class imapAccess extends baseModule {
|
||||||
*/
|
*/
|
||||||
function process_attributes() {
|
function process_attributes() {
|
||||||
$errors = array();
|
$errors = array();
|
||||||
|
if (!checkIfWriteAccessIsAllowed()) {
|
||||||
|
return $errors;
|
||||||
|
}
|
||||||
$prefix = $this->getMailboxPrefix();
|
$prefix = $this->getMailboxPrefix();
|
||||||
|
|
||||||
$imap_server_address = $this->getServerAddress();
|
$imap_server_address = $this->getServerAddress();
|
||||||
|
|
Loading…
Reference in New Issue