6.0.0-alpha14
6/25/25

[#6371] Calendar Perms with Frombackend/tobackend hook
Summary Calendar Perms with Frombackend/tobackend hook
Queue Kronolith
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester grahamcw (at) hurleybulldogs (dot) com
Created 03/04/2008 (6322 days ago)
Due
Updated 09/22/2008 (6120 days ago)
Assigned 06/30/2008 (6204 days ago)
Resolved 09/22/2008 (6120 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/22/2008 09:00:17 PM Jan Schneider Comment #7
State ⇒ Resolved
Reply to this comment
Fixed for Horde 3.3.
09/22/2008 08:56:44 PM Jan Schneider Deleted Original Message
 
06/30/2008 07:54:06 PM Chuck Hagenbuch State ⇒ Assigned
 
05/27/2008 01:56:36 PM grahamcw (at) hurleybulldogs (dot) com Comment #5 Reply to this comment
My intention is to have the backend see my users as 
username@domain.name but to have them be able to refer on the front 
end side to  just username.  This works fine as my perms are all 
username@domain.name

I think reversing them will break this.
05/24/2008 05:12:55 PM Jan Schneider Comment #4
State ⇒ Feedback
Reply to this comment
On further investigation it looks to me as if you are using the hooks 
exactly in the wrong direction. What happens if you exchange the 
methods?
03/23/2008 11:26:44 AM Jan Schneider State ⇒ Assigned
 
03/23/2008 10:31:57 AM grahamcw (at) hurleybulldogs (dot) com Comment #3 Reply to this comment
Yes -  this is a dupllicate of 6333.

My Apology.
03/22/2008 11:45:15 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Isn't this the same you reported in bug #6333?
03/04/2008 10:02:01 PM Chuck Hagenbuch Assigned to Jan Schneider
State ⇒ Assigned
 
03/04/2008 09:34:23 PM grahamcw (at) hurleybulldogs (dot) com Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: k-perms.patch
Queue ⇒ Kronolith
Summary ⇒ Calendar Perms with Frombackend/tobackend hook
Type ⇒ Bug
Reply to this comment
I use  frombackend/tobackend  hooks to add a domain  name to my userid.

I was changing permissions to a shared calendar.



I entered someusername as user and set permissions and saved permissions

then went to add another - someusername2 - when I save permissions

my existing  someusername shows up , but also a new 
someusername@mydomainname .

I add a third user someusername3

and I end up with these usernames

someuername

someusername@mydomainname@mydomainname

someusername2

someusername2@mydomainname

someusername3



so now I go to delete everything  and add them to a group -

I clear all the permissions on all the names names

but all 3 origionals names stay there

someusername

someusername2

someusername3



Looks like kronolith/templates/perms/perms.inc is not consistently 
unhooking $users



Patch attached

Saved Queries