Re: Model-View-Controller and user permissions
Re: Model-View-Controller and user permissions
- Subject: Re: Model-View-Controller and user permissions
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 19 Jul 2011 13:26:34 -0700
If you're already using ERDirectToWeb and ERJavaMail, I won't hurt to include it. It's a pretty nice framework, but needs some love in places (missing a migration for instance). It provides scaffolding for mailable exceptions, audit trails, and user preferences for things like batch size and sort orderings.
Ramsey
On Jul 19, 2011, at 12:28 PM, Amy Worrall wrote:
>> Alternately, the security manager could get the user from the thread too. The method signature would still look the same.
>>
>> ERCoreBusinessLogic does this with the 'actor'. You can look at bug tracker to see an example. Just store the user on the session, then you can put the user on the thread local at session.awake() and remove it from the thread local on session.sleep().
>
> I think that was the bit I was missing — I wasn't sure where to hook
> it in to the thread lifecycle. This seems to make some sort of sense
> now!
>
> Is it worth me using ERCoreBusinessLogic?
>
> Amy
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden