[
https://issues.apache.org/jira/browse/OFBIZ-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704489#action_12704489
]
Adrian Crum commented on OFBIZ-2380:
------------------------------------
Thinking about this more...
(sorry - it would have been helpful to discuss this on the dev ml before you
got started)
it would be awesome if the new permissions could be expressions. Example:
(update:context1 | update:context2) & update:context3
which would express "if (update:context1 OR update:context2) AND
update:context3."
I know there have been times when this would have been helpful in the
permissions service interface. It would eliminate a lot of little mini-language
permissions scripts. The single permission check for service calls is very
limiting.
After working with UEL, I can see where implementing functions would be helpful
too:
update:context1 & someFunction(...)
> Security Re-Implementation
> --------------------------
>
> Key: OFBIZ-2380
> URL: https://issues.apache.org/jira/browse/OFBIZ-2380
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Andrew Zeneski
> Assignee: Andrew Zeneski
> Fix For: SVN trunk
>
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> Parent Task for Security Re-Implementation -- Details defined here:
> http://docs.ofbiz.org/x/-B0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.