the session just returns the user:
public Person user() {
return _user;
}
The EO has a to-one with security (each person has a security object that
return booleans)
from the _Security java file:
public static final ERXKey<Boolean> CAN_EDIT_AD_RELEASE = new
ERXKey<Boolean>("canEditAdRelease");
What else can I show you?
Ted
--- On Thu, 2/9/12, David LeBer <[email protected]> wrote:
> From: David LeBer <[email protected]>
> Subject: Re: isEntityEditable still showing space when false
> To: "Theodore Petrosky" <[email protected]>
> Cc: [email protected]
> Date: Thursday, February 9, 2012, 8:42 AM
> What does the method
> session.user.security.canEditAdRelease() look like?
>
> D
>
> --
> David LeBer
> Codeferous Software
>
> On 2012-02-09, at 12:43 AM, Theodore Petrosky wrote:
>
> > I have a boolean to control isEntityEditable. My users
> that have this set to false still have a LftActionCell
> that takes up space. So, If I log in, I can edit rows and I
> see the Edit button. Jane logs in and can not edit entries.
> There are no Edit buttons but the space exists.
> >
> >
> > 101 : entity.name = 'AdRelease' => isEntityEditable
> = {"conditionKey" =
> "session.user.security.canEditAdRelease"; "trueValue" =
> "true";
> > }
> [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment]
> >
> > Am i doing this wrong? I would like to get rid of the
> space.
> >
> > Ted
> > _______________________________________________
> > 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/dleber_wodev%40codeferous.com
> >
> > This email sent to [email protected]
>
>
_______________________________________________
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]