Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to