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

Re: IMAPEXT prepared for shutdown



On Tue, 2008-06-17 at 11:55 +0100, Alexey Melnikov wrote:
> Timo Sirainen wrote:
> 
> > One thing somewhat related to ACLs that could be useful is the 
> > ability  to find out and specify which message flags and keywords are 
> > shared  and which are private (on per-flag level, not on per-message 
> > level).  Perhaps with the ability to create/delete keywords with 
> > explicit  commands.. Anyone else interested (for morg)?
> 
> I am interested. I think I even had a pro-draft for this at some point.

I remember you had a new untagged reply listing shared flags:

* OK [SHAREDFLAGS (\Seen \Answered $hello $world)]

The commands could be something like:

1 FLAGS ADD PRIVATE ($pvt1 $pvt2 $foo) SHARED (\Seen \Answered)
* FLAGS ..
* OK [PERMANENTFLAGS ..]
* OK [SHAREDFLAGS (\Seen \Answered)]
1 OK
2 FLAGS ADD SHARED ($shared1 $foo $shared2)
* FLAGS ..
* OK [PERMANENTFLAGS ..]
* OK [SHAREDFLAGS (\Seen \Answered $foo $shared1)]
2 NO [TOOMANYKEYWORDS] $shared2 not added

3 FLAGS REMOVE ($pvt1)
* FLAGS ..
* OK [PERMANENTFLAGS ..]
3 OK
4 FLAGS REMOVE ($shared1 \seen $shared2)
* FLAGS ..
* OK [PERMANENTFLAGS ..]
* OK [SHAREDFLAGS (\Answered $foo)]
4 NO Unknown keyword $shared2

5 FLAGS ADD PRIVATE (\hello)
5 BAD

Adding and updating could be done with the same command. I don't think
there's much point in having them be separate.

Attachment: signature.asc
Description: This is a digitally signed message part