Version: (using Devel) Installed from: Compiled sources If a resource is read-only: Expected behaviour: * Edit Contact... action is disabled * Double click on contact does not trigger action Observed behaviour: * Edit Contact... and double click both trigger the contact editor dialog * The dialog is empty
Hej Will, which specific resource are you talking about? KAddressBook checks the access rights of the collection the contacts are stored in, so the resource is responsible to remove all rights from all resources if the resource is marked as read-only. The 'Personal Contacts' resource does this for example... when marking as read-only, it reloads all collections and removes the modify rights from them. Ciao, Tobias
It's a vcard file resource
I reassign this to the resource developer. The SingleFileResourceBase does not call synchronize() when read-only flag has changed, therefor it does not update the access rights of the resource collection correctly.
I hadn't changed the read-only flag on the resource in recent memory. Does that affect your analysis?
Works in KDE 4.11. Collection rights are correctly updated when Read Only settings is changed.