[RCD] IMAP ACL plugin + patch

A.L.E.C alec at alec.pl
Mon Jan 3 17:10:54 CET 2011


On 03.01.2011 16:39, Holger Mauermann wrote:
> Am 03.01.2011 08:18, schrieb A.L.E.C:
>> Not bad, but Sharing section should be a Tab in folder info page.
> 
> Already tried that, but there seems to be a bug in Roundcube. When
> clicking on any tab in the folder manager the tab content disappears...

I'll take a look.

>> Also, defining rights for shared folder would be better with 
>> checkboxes.
> 
> We need eleven checkboxes... this would clutter the UI ;-)
> 
> I'll think about a select field with some predefined rights (read only,
> read+write, ...)

Not bad idea, but we'll need "custom rights" item on the list which will
popup an extended rights selection window. However, we can create a
table and use short column descriptions for rights to make the whole
screen (table) narrower.

> --- program/include/rcube_imap_generic.php	(revision 4384)
> +++ program/include/rcube_imap_generic.php	(working copy)
> @@ -3224,6 +3224,7 @@
>      private function parseCapability($str, $trusted=false)
>      {
>          $str = preg_replace('/^\* CAPABILITY /i', '', $str);
> +        $str = preg_replace('/\bRIGHTS=[kxte]{4}\b/i', 'RIGHTS=', $str);

I don't understand this.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80



More information about the Dev mailing list