launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #07870
Re: Chaining security adapters
On Sep 6, 2011, at 11:22 , Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11-09-06 08:32 AM, Brad Crittenden wrote:
>> To remove the hard-coded names and facilitate this pattern of
>> forwarding via lookup I created a new base class called
>> ForwardedAuthorization.
>
> This sounds a lot like the DerivedAuthorization class. Have you seen
> that?
I did see it Aaron. One difference is DerivedAuthorization doesn't allow using a different permission, which was a use that came up a few times. I think the two can probably be merged, though, and I like the name DerivedAuthorization better.
Thanks for pointing it out.
--Brad
Follow ups
References