[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lemonade] Even more drastic cut-backs in METADATA




Cyrus Daboo wrote:

Hi,
So I have been thinking some more about the issue of removing attributes from METADATA. I think that will introduce some problems with how we can then do .priv and .shared. My original idea was to allow ".priv" and ".shared" to be tacked on the end of an entry name to have the appropriate value returned. This is ugly in that it then requires the somewhat arbitrary restriction that entry names themselves cannot end in .priv or .shared.

So here is a more radical proposal: do away with .priv and .shared as well. Instead each annotation would define whether it is per-user or shared. So on a mailbox we would initially define:

/comment-public
/comment-private

Where "public" would be "shared" and "private" would be per-user.
I really really really dislike that, as now there is no way to algorithmically determine which annotation is public and which one is private. Unless you meant that each annotation will have either "-public" or "-private"? A better way would be to define two separate hierarchies: /public and /private, e.g. /private/comment.