From 9ce2e86a57c80d68f7a22edfc83c43f0b40e574e Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 15 Jul 2005 08:06:12 +0000 Subject: [PATCH] fixed #1456, add/del folder buttons when perm is not set git-svn-id: http://svn.opengroupware.org/SOGo/trunk@773 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/MailerUI/ChangeLog | 5 +++++ SOGo/UI/MailerUI/Version | 2 +- SOGo/UI/MailerUI/product.plist | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/SOGo/UI/MailerUI/ChangeLog b/SOGo/UI/MailerUI/ChangeLog index 4dcd5af9..f533e852 100644 --- a/SOGo/UI/MailerUI/ChangeLog +++ b/SOGo/UI/MailerUI/ChangeLog @@ -1,3 +1,8 @@ +2005-07-15 Helge Hess + + * product.plist: only enable folder add/remove buttons when the user + has the 'c' permission on the IMAP folder (#1456) (v0.9.141) + 2005-07-14 Helge Hess * UIxMailAccountView.m: removed methods to detect whether the diff --git a/SOGo/UI/MailerUI/Version b/SOGo/UI/MailerUI/Version index ce465e60..ccd9c65e 100644 --- a/SOGo/UI/MailerUI/Version +++ b/SOGo/UI/MailerUI/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=140 +SUBMINOR_VERSION:=141 # v0.9.140 requires SoObjects/Mailer v0.9.100 # v0.9.134 requires libSOGo v0.9.41 diff --git a/SOGo/UI/MailerUI/product.plist b/SOGo/UI/MailerUI/product.plist index 927a8a10..d255d573 100644 --- a/SOGo/UI/MailerUI/product.plist +++ b/SOGo/UI/MailerUI/product.plist @@ -117,9 +117,11 @@ ), ( // fourth group (folders) { link = "#"; onclick="return ctxFolderAdd(this)"; + enabled = "clientObject.isCreateAllowed"; isSafe = NO; cssClass = "tbicon_folderadd"; label = "Create"; }, { link = "#"; onclick="return ctxFolderDelete(this)"; + enabled = "clientObject.isCreateAllowed"; isSafe = NO; cssClass = "tbicon_folderdel"; label = "Delete"; }, ), -- 2.39.5