Bug 203873 - 'Delete Group' functionality unavailable
Summary: 'Delete Group' functionality unavailable
Status: CLOSED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Kolab Resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 203874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-14 19:56 UTC by Sabine Faure
Modified: 2009-10-09 18:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2009-08-14 19:56:53 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Configure Akonadi with an IMAP and Kolab resource.
- Create a group with a couple of members in it.
- Try to delete the group (either by right clicking on 'Delete Group' or menu Edit/Delete Group)

The 'Delete Group functionality is unavailable (greyed) so it is impossible to delete a group at the moment.

It is however possible to delete all members within the group by editing the content of the group.

SVN REV 1010699
Comment 1 Tobias Koenig 2009-08-17 14:02:06 UTC
*** Bug 203874 has been marked as a duplicate of this bug. ***
Comment 2 Tobias Koenig 2009-08-17 14:03:07 UTC
SVN commit 1012301 by tokoe:

Enable/disable the 'Delete Items' action depending on
whether the parent resource allows deletion of items.

BUG: 203873


 M  +13 -2     standardactionmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1012301
Comment 3 Sabine Faure 2009-08-26 22:26:43 UTC
- Try to delete the group (either by right clicking on 'Delete Group' or menu
Edit/Delete Group)
None of those seem to work for me.

The 'Delete Group functionality is still unavailable (greyed) so it is impossible to delete a group.

Any suggestion?

Trunk, Svn Rev 1015767
Comment 4 Tobias Koenig 2009-08-27 12:27:08 UTC
Hej Sabine,

I guess the bug is in the Kolab resource and not KAddressBook, however I'm
not 100% sure ;) But we can check that. Can you do the following steps, please?

- Start 'akonadiconsole' application
- Go to the 'Browser' tab
- Right click on the collection that contains the contact group that can't be deleted
- Select 'Folder Properties' from the RMB menu
- Go to the 'ACL' tab in the appearing dialog

What 'Item Access Rights' and 'Collection Access Rights' are checked there?

KAddressBook enables the 'Delete' menu entry only if the collection, where the selected
contact group comes from, has the 'Delete' right for items. These rights are set by the
resource because the resource knows what rights the corresponding IMAP folders have.
So it could be that the Kolab resource doesn't set the rights correctly and therefor
KAddressBook doesn't enable the menu entry.

Ciao,
Tobias
Comment 5 Sabine Faure 2009-08-28 21:49:36 UTC
Today, I checked the Item Access Rights only Create and Modify are checked by default(not Delete).
None of the Collection Access Rights (Create, Modify and Delete) are checked by default.

I Checked manually The Delete check box for Item Access Rights and relaunched Kaddressbook. I can now delete Contacts and Groups.
Thanks for the tip. ;o)

I guess that there is a bug indeed since the Delete check box from Item Access Right is not check by default.


Trunk, Svn Rev 1016607
Comment 6 Sabine Faure 2009-10-09 18:28:00 UTC
I retested this today and it works.

It is now possible to delete a group so I am closing this bug.


Trunk, Svn Rev 1033074