Comment 2 for bug 530315

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 530315] Re: retrieve archive subscriptions through the API

On Tuesday 02 March 2010 06:27:43 Michael Nelson wrote:
> This should be as simple as adding and exposing
> IPerson.getArchiveSubscriptions(include_tokens=False) which calls
> IArchiveSubscriberSet.getBySubscriber() or
> getBySubscriberWithActiveToken()

I think it would be better to expose a method on IArchive and use CALL_WITH to
provide the currently logged-in user's name.

We need to make sure that we don't expose tokens for the wrong person, so the
security adapter has to be spot on.