@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
Dashboard s. |
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)
DashboardPermissionManager
Returns the allowed Dashboard
s. The privileges of the current user are also involved in the permission process.
getAllowedDashboards
in interface DashboardPermissionManager
public com.google.common.collect.ImmutableList<DashboardPermissionFilter> getDashboardPermissionFilters()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.