public class EntityDependencyPermissionChecker extends Object
| Constructor and Description |
|---|
EntityDependencyPermissionChecker(GranteeAuthorizer.Factory granteeAuthorizerFactory,
BuiltinCapabilities builtinCapabilities) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMultimap<GRN,EntityDescriptor> |
check(GRN sharingUser,
com.google.common.collect.ImmutableSet<EntityDescriptor> dependencies,
Set<GRN> selectedGrantees)
Runs permission checks for the given dependencies for every selected grantee and returns the entities that
grantees cannot access.
|
@Inject public EntityDependencyPermissionChecker(GranteeAuthorizer.Factory granteeAuthorizerFactory, BuiltinCapabilities builtinCapabilities)
public com.google.common.collect.ImmutableMultimap<GRN,EntityDescriptor> check(GRN sharingUser, com.google.common.collect.ImmutableSet<EntityDescriptor> dependencies, Set<GRN> selectedGrantees)
sharingUser - the sharing userdependencies - the dependencies to checkselectedGrantees - the selected granteesCopyright © 2012–2021 Graylog, Inc.. All rights reserved.