-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bizrule #68
Comments
Yes, but is work if you can add manually in db. |
Why not a field to manage bizrules also ? 2013/4/17 Stageline [email protected]
Cordialement, |
Because bizrules doesn't belong in the user interface. -Christoffer
|
I don't understand. bizrule and data are fields of authitem and 2013/4/18 Christoffer Niska [email protected]
Cordialement, |
Bizrules are evaluated php code, so it's far from safe to let users write -Christoffer
|
Ok I understand. I find this solution rather ugly (the concept of bizrule 2013/4/18 Christoffer Niska [email protected]
Cordialement, |
That is possible, set the strictMode parameter to false in AuthModule.
|
Great, thanks. Do you think we can achieve that with your extension without using 2013/4/18 Christoffer Niska [email protected]
Cordialement, |
No, you need to use bizrules for that. I wouldn't try to avoid them either -Christoffer
|
It seems to me I can't seriously use eval() for some code stored in the DB. I plan something else more secure: I store in authAssignment.data a In case I do that, I'll extend your extension: when creating an assignment, What do you think about that idea ? 2013/4/18 Christoffer Niska [email protected]
Cordialement, |
How about check if DEBUG mode is on, then show bizrule field. This will protect bizrule editing on production, and help developers do their job..? |
That would be one option. I kind of like the idea. -Chris On Thu, Jun 6, 2013 at 8:22 AM, r3verser [email protected] wrote:
Best regards, |
Why did you close this? I'd also need it + a data field. |
You're right @schmunk42. I will add this when we can think of a good way for adding this. |
It seems there's no bizrule management. Did I miss it ?
The text was updated successfully, but these errors were encountered: