Package org.graylog.security.shares
Class EntitySharesService
java.lang.Object
org.graylog.security.shares.EntitySharesService
Handler for sharing calls.
-
Constructor Summary
ConstructorDescriptionEntitySharesService
(DBGrantService grantService, EntityDependencyResolver entityDependencyResolver, EntityDependencyPermissionChecker entityDependencyPermissionChecker, GRNRegistry grnRegistry, GranteeService granteeService, com.google.common.eventbus.EventBus serverEventBus) -
Method Summary
Modifier and TypeMethodDescriptionprepareShare
(GRN ownedEntity, EntityShareRequest request, User sharingUser, org.apache.shiro.subject.Subject sharingSubject) Prepares the sharing operation by running some checks and returning available capabilities and grantees as well as active shares and information about missing dependencies.updateEntityShares
(GRN ownedEntity, EntityShareRequest request, User sharingUser) Share / unshare an entity with one or more grantees.
-
Constructor Details
-
Method Details