• 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
ERDDelayedBooleanAssignment question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERDDelayedBooleanAssignment question


  • Subject: ERDDelayedBooleanAssignment question
  • From: Sébastien Rottiers <email@hidden>
  • Date: Mon, 22 Feb 2016 14:56:55 +0100

Hello,

I have two rules to control the access write of my users (isEntityEditable and isEntityDeletable). Here is these rules :

    100 : *true* => isEntityEditable = {"conditionKey" = "session.userConnected.isAdmin"; "falseValue" = "0"; "trueValue" = "1"; } [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment],
    100 : *true* => isEntityDeletable = {"conditionKey" = "session.userConnected.isAdmin"; "falseValue" = "0"; "trueValue" = "1"; } [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment],

It works properly for isEntityEditable (if I login with an admin account I can edit the EOs, and if I logout and login with a non admin user I can’t edit EOs). But for isEntityDeletable the issue is : on the List pages (ERModernLook) I already visited, when I logout/login from admin to non admin, the delete button is still displayed. And in dev mode if I clear the D2W cache, the delete button disappear as expected.

Am I missing something ?

Thanks,
Sébastien 
 


 _______________________________________________
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

  • Follow-Ups:
    • Re: ERDDelayedBooleanAssignment question
      • From: Mark Wardle <email@hidden>
    • Re: ERDDelayedBooleanAssignment question
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: import from an external DB
  • Next by Date: Re: ERDDelayedBooleanAssignment question
  • Previous by thread: Re: import from an external DB
  • Next by thread: Re: ERDDelayedBooleanAssignment question
  • Index(es):
    • Date
    • Thread