[ 
https://issues.apache.org/jira/browse/GEODE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ivorzhou updated GEODE-5918:
----------------------------
    Fix Version/s: 1.8.0

> Geode function security should be dynamically determined by function arguments
> ------------------------------------------------------------------------------
>
>                 Key: GEODE-5918
>                 URL: https://issues.apache.org/jira/browse/GEODE-5918
>             Project: Geode
>          Issue Type: Improvement
>          Components: functions, security
>            Reporter: ivorzhou
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Now in Function interface there is a method
> default Collection<ResourcePermission> getRequiredPermissions(String 
> regionName) {
>  return Collections.singletonList(ResourcePermissions.DATA_WRITE);
> }
>  
> Which only support statically security determination in design 
> time(regionName is not enough).
> In some situation,we require determining security on function arguments.
>  
> I think add a method in this interface like
> default Collection<ResourcePermission> getRequiredPermissions(String 
> regionName,Object args) {
> return getRequiredPermissions(regionName);
> }
>  
> and in server side command,call the new method with regionName and arguments 
> together.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to