<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>Permissions with from/to - backend hook</title>
  <pubDate>Sat, 05 Jul 2008 20:16:14 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/6333</link>
  <atom:link rel="self" type="application/rss+xml" title="Permissions with from/to - backend hook" href="http://bugs.horde.org/ticket/6333/rss" />
  <description>Permissions with from/to - backend hook</description>

  
  
  <item>
   <title>
From Calendar
Select Manage calendars from right expando-</title>
   <description>
From Calendar
Select Manage calendars from right expando-manu
Select change permissions icon on right of an existing calender

In Permission window 
Enter Bob in individual users input area and select all options except delegate
Push Save Calender Submit  button
No w enter John in individual users input area and select all options except delegate
Push Save Calendar Submit botton
it will return Individual user list 
Bob
bob@hurleybulldogs.com
John

Enter Jim in individuall users input area and select all options except delegate
Push Save Calendar Submit botton

it will return individual user list 
Bob
Bob@hurleybulldogs.com@hurleybulldogs.com
John
John@hurleybulldogs.com
Jim

Now de-select all permission options under individual Users - deleting them
Push Save Calendar Submit botton
it will return the list 
Bob
John
Jim



--------------------------
Here are the hooks

 if (!function_exists('_username_hook_tobackend')) {
     function _username_hook_tobackend($userID)
     {
         $vdomain = '@hurleybulldogs.com';
         if (substr($userID, -strlen($vdomain)) == $vdomain) {
             $userID = substr($userID, 0, -strlen($vdomain));
         }

         return String::lower($userID);
     }
 }

 if (!function_exists('_username_hook_frombackend')) {
     function _username_hook_frombackend($userID)
     {

           $vdomain = 'hurleybulldogs.com';

         return String::lower($userID) . '@' . $vdomain;
     }
 }





</description>
   <pubDate>Wed, 27 Feb 2008 18:52:19 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/6333#t43211</link>
  </item>
  <item>
   <title>Jan, I believe you did the relevant work here.</title>
   <description>Jan, I believe you did the relevant work here.</description>
   <pubDate>Thu, 28 Feb 2008 19:23:41 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/6333#t43257</link>
  </item>
  <item>
   <title>Bug #6371 is a duplicate of this one, but has a potential pa</title>
   <description>Bug #6371 is a duplicate of this one, but has a potential patch.</description>
   <pubDate>Sun, 23 Mar 2008 07:26:21 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6333#t44158</link>
  </item>
  

 </channel>
</rss>
