@Manager public class DefaultDashboardPermissionManager extends Object implements DashboardPermissionManager
Implementation of the dashboard permission manager.
| Constructor and Description |
|---|
DefaultDashboardPermissionManager(UserManager userManager,
org.springframework.context.MessageSource messageSource,
List<DashboardPermissionFilter> dashboardPermissionFilters) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Dashboard> |
getAllowedDashboards(Locale locale)
Returns the allowed
Dashboards. |
com.google.common.collect.ImmutableList<DashboardPermissionFilter> |
getDashboardPermissionFilters() |
public DefaultDashboardPermissionManager(UserManager userManager, org.springframework.context.MessageSource messageSource, List<DashboardPermissionFilter> dashboardPermissionFilters)
@Transactional(readOnly=true) public com.google.common.collect.ImmutableList<Dashboard> getAllowedDashboards(Locale locale)
DashboardPermissionManagerReturns the allowed Dashboards. The privileges of the current user are also involved in the permission process.
getAllowedDashboards in interface DashboardPermissionManagerpublic com.google.common.collect.ImmutableList<DashboardPermissionFilter> getDashboardPermissionFilters()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.