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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 checktableKey
- the table to check- Returns:
- true if the user is allowed to view this table.
-