[Tickets #4971] Re: Preexisting user's calendar does not get necessary attribute when the user joins a group
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Feb 6 10:18:18 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4971
-----------------------------------------------------------------------
Ticket | 4971
Updated By | ntai at smartfruit.com
Summary | Preexisting user's calendar does not get necessary attribute when the
| user joins a group
Queue | Kronolith
Version | 2.1.4
Type | Bug
State | Not A Bug
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
ntai at smartfruit.com (2007-02-06 10:18) wrote:
>>> I do not understand that joining a user to group does not
>>> automatically allow some sort of sharing, and sharing only happens
>>> when and only when the particular user happens to not have the
>>> calendar object in backend.
>>
>> If you add a user to a group, that user can then see all calendars
>> for that group. It doesn't mean anything about who can access that
>> user's calendar.
>
> Let me clarify the problem.
>
> A user "FOO" who already had a calendar, and joined to a group.
> Other group members do not see the "FOO"'s calendar, only when "FOO"
> happens to have the calendar before the group is created.
>
> From what you described here, I think that my problem is indeed a bug
then.
>
It was not a good description.
A user "FOO"'s calendar was not viewable from other group members.
This happens when "FOO"'s calendar gets created before the group gets
created.
I had to manually add an entry into horde_datatree_attributes table to
make it viewable for other group members. Following is the entry I added.
horde=# select * from horde_datatree_attributes where datatree_id = 10 and
attribute_name = 'perm_groups';
datatree_id | attribute_name | attribute_key | attribute_value
-------------+----------------+---------------+-----------------
10 | perm_groups | 7 | 14
(1 row)
I noticed that all other group members who's calendar gets created after
the group gets created this 'perm_groups' entry.
More information about the bugs
mailing list