[Tickets #14578] Re: Calendars with Delegate permissions are not deleted correctly

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Feb 22 11:32:47 UTC 2017


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14578
------------------------------------------------------------------------------
  Ticket           | 14578
  Aktualisiert Von | wahnes at uni-koeln.de
  Zusammenfassung  | Calendars with Delegate permissions are not deleted
                   | correctly
  Warteschlange    | Kronolith
  Version          | 4.2.19
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       | Jan Schneider
------------------------------------------------------------------------------


wahnes at uni-koeln.de (2017-02-22 11:32) hat geschrieben:

> I cannot reproduce this, and I don't see how this could happen either.

I'm sorry, I mixed things up when I wrote down the bug report.

The actual problem arises when horde-remove-user-data is executed for  
the user that has got "Delegate" permissions on the share, not the  
share owner.

Example:
mysql> select * from kronolith_sharesng_users where share_id=101638;
+----------+----------+--------+--------+--------+---------+-----------+
| share_id | user_uid | perm_2 | perm_4 | perm_8 | perm_16 | perm_1024 |
+----------+----------+--------+--------+--------+---------+-----------+
|   101638 | bbeispie |      1 |      1 |      1 |       1 |         1 |
|   101638 | jwahnes  |      1 |      1 |      1 |       0 |         0 |
+----------+----------+--------+--------+--------+---------+-----------+

$ horde-remove-user-data bbeispie
Removing data of user(s):
   bbeispie

Are you sure you want to remove user data?
     (y) Yes
     (n) No

Ihre Auswahl [n]: y
[   OK   ] bbeispie: Data removed.

mysql> select * from kronolith_sharesng_users where share_id=101638;
+----------+----------+--------+--------+--------+---------+-----------+
| share_id | user_uid | perm_2 | perm_4 | perm_8 | perm_16 | perm_1024 |
+----------+----------+--------+--------+--------+---------+-----------+
|   101638 | bbeispie |      0 |      0 |      0 |       0 |         1 |
|   101638 | jwahnes  |      1 |      1 |      1 |       0 |         0 |
+----------+----------+--------+--------+--------+---------+-----------+






More information about the bugs mailing list