Interface TableDataProtocol.TableAccessChecker

All Known Implementing Classes:
TableDataCacheProxy.TableAccessCheckerImpl
Enclosing class:
TableDataProtocol
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TableDataProtocol.TableAccessChecker
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasPermission(io.deephaven.enterprise.auth.UserContext user, TableKey tableKey)
    Return true if the given user is allowed to see locations for this TableKey.
  • Method Details

    • hasPermission

      boolean hasPermission(@Nullable io.deephaven.enterprise.auth.UserContext user, @NotNull TableKey tableKey)
      Return true if the given user is allowed to see locations for this TableKey.
      Parameters:
      user - optional user to check
      tableKey - the table to check
      Returns:
      true if the user is allowed to view this table.