From: helge Date: Fri, 15 Jul 2005 08:06:12 +0000 (+0000) Subject: fixed #1456, add/del folder buttons when perm is not set X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ce2e86a57c80d68f7a22edfc83c43f0b40e574e;p=scalable-opengroupware.org 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 --- 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"; }, ),