[Kde-pim] Akonadi::Collection::AllRights is wrong

David Jarvie djarvie at kde.org
Thu Apr 22 17:44:50 BST 2010


On Thu, April 22, 2010 1:05 pm, Tobias Koenig wrote:
> On Wed, Apr 21, 2010 at 09:45:57PM +0100, David Jarvie wrote:
> Hej,
>
>> The enum value AllRights in Akonadi::Collection::Right does not
>> currently include all rights on the collection
>> - contrary to its name and API description. It omits the two extra
>> Rights values which were added in 4.4.
> This is on purpose, the Link/Unlink rights have a special meaning which is
> only important for virtual collections,
> the other rights are for real collections and AllRights are all rights for
> real collections.

In that case, the API documentation should be updated to explain this.
Steve's patch to add a FullRights value looks a good idea in addition.

-- 
David Jarvie.
KDE developer.
KAlarm author - http://www.astrojar.org.uk/kalarm

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list