ERDDelayedBooleanAssignment question
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