• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: isEntityEditable still showing space when false
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isEntityEditable still showing space when false


  • Subject: Re: isEntityEditable still showing space when false
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 09 Feb 2012 06:46:59 -0800 (PST)

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@hidden> wrote:

> From: David LeBer <email@hidden>
> Subject: Re: isEntityEditable still showing space when false
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> 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@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


References: 
 >Re: isEntityEditable still showing space when false (From: David LeBer <email@hidden>)

  • Prev by Date: Rép : Re: OVERRIDE AjaxInPlaceEditor
  • Next by Date: Re: isEntityEditable still showing space when false
  • Previous by thread: Re: isEntityEditable still showing space when false
  • Next by thread: Re: isEntityEditable still showing space when false
  • Index(es):
    • Date
    • Thread