Package com.illumon.iris.controller
Class IrisGroupProviderControllerImpl
java.lang.Object
com.illumon.iris.controller.IrisGroupProviderControllerImpl
- All Implemented Interfaces:
IrisGroupProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
IrisGroupProvider.UserType
-
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
FULL_ACCESS_GROUP, GROUP_ALLUSERS, IRIS_ACLEDITORS, IRIS_QUERYMANAGERS, IRIS_SCHEMAMANAGERS, IRIS_SUPERUSERS, NON_INTERACTIVE_GROUP, QUERY_VIEW_ONLY_GROUP
-
Constructor Summary
ConstructorsConstructorDescriptionIrisGroupProviderControllerImpl
(PersistentQueryControllerClient controllerClient) -
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
String[]
getGroupsForUser
(io.deephaven.enterprise.auth.UserContext userContext) String[]
getUsersForGroup
(String group) getUserType
(io.deephaven.enterprise.auth.UserContext userContext) boolean
isAclEditor
(io.deephaven.enterprise.auth.UserContext userContext) boolean
boolean
isQueryManager
(io.deephaven.enterprise.auth.UserContext userContext) boolean
isSchemaManager
(io.deephaven.enterprise.auth.UserContext userContext) boolean
isSuperUser
(io.deephaven.enterprise.auth.UserContext userContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
getRunAsUser, getRunAsUserMap
-
Constructor Details
-
IrisGroupProviderControllerImpl
-
-
Method Details
-
isSuperUser
public boolean isSuperUser(@NotNull io.deephaven.enterprise.auth.UserContext userContext) - Specified by:
isSuperUser
in interfaceIrisGroupProvider
-
isAclEditor
public boolean isAclEditor(@NotNull io.deephaven.enterprise.auth.UserContext userContext) - Specified by:
isAclEditor
in interfaceIrisGroupProvider
-
isSchemaManager
public boolean isSchemaManager(@NotNull io.deephaven.enterprise.auth.UserContext userContext) - Specified by:
isSchemaManager
in interfaceIrisGroupProvider
-
isQueryManager
public boolean isQueryManager(@NotNull io.deephaven.enterprise.auth.UserContext userContext) - Specified by:
isQueryManager
in interfaceIrisGroupProvider
-
isMember
public boolean isMember(@NotNull io.deephaven.enterprise.auth.UserContext userContext, @Nullable String owner, @Nullable String[] groups) - Specified by:
isMember
in interfaceIrisGroupProvider
-
getUserType
public IrisGroupProvider.UserType getUserType(@NotNull io.deephaven.enterprise.auth.UserContext userContext) - Specified by:
getUserType
in interfaceIrisGroupProvider
-
getGroupsForUser
- Specified by:
getGroupsForUser
in interfaceIrisGroupProvider
-
getUsersForGroup
- Specified by:
getUsersForGroup
in interfaceIrisGroupProvider
-
getAllGroups
- Specified by:
getAllGroups
in interfaceIrisGroupProvider
-
getAllUsers
- Specified by:
getAllUsers
in interfaceIrisGroupProvider
-