On Feb 28, 2013, at 3:00 AM, Ramsey Gurley <[email protected]> wrote:

>> 
>> I've looked at a couple ways, but I'm not sure what is the best strategy. 
>> I'm thinking creating a custom D2W Assignment subclass is the way, but I'm 
>> not sure.
> 
> If you aren't storing them, you can probably come up with a decent solution 
> using a single assignment. It would just need some sort of permission manager 
> object to consult. Maybe that comes from the rules or maybe a thread local.


What I was thinking of is something similar to the QueryDatasourceDelegate 
where you could define a delegate class that would have the logic to filter the 
array of displayPropertyKeys prior to them being returned by the D2WContext.

Simply create a rule that defines what delegate it should use to filter the 
displayPropertyKeys prior to returning them. The logic of why or how to filter 
is entirely up to the developer - it could be based on user preference or 
permissions triggering it would be controlled by the rule system.

Dave

—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™
—————————————————————————————
David Avendasora
Senior Software Abuser
Kaiten, Inc.




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to