public class SpecificRolesStrategy extends Object implements SharingStrategy<SpecificRoles>
| Constructor and Description |
|---|
SpecificRolesStrategy(RoleService roleService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowedToSee(User user,
@NotNull SpecificRoles viewSharing) |
@Inject public SpecificRolesStrategy(RoleService roleService)
public boolean isAllowedToSee(@Nullable User user, @NotNull @NotNull SpecificRoles viewSharing)
isAllowedToSee in interface SharingStrategy<SpecificRoles>Copyright © 2012–2020 Graylog, Inc.. All rights reserved.