Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-787

Add "requiredPermissions" to @GemfireFunction annotation

    XMLWordPrintable

    Details

    • Sprint:
      Lovelace GA

      Description

      Currently its not possible to implement a fine-grained security for server functions declared with @GemfireFunction annotation. All such functions require DATA:WRITE permissions which gives too much control.

      Meanwhile Geode supports this possibility:

      https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/execute/Function.html

      public java.util.Collection<ResourcePermission> getRequiredPermissions(java.lang.String regionName)
      

      Returns the list of ResourcePermission this function requires.
      By default, functions require DATA:WRITE permission. If your function requires other permissions, you will need to override this method.

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            jblum John Blum
            Last updater:
            Mark Paluch Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: