Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionsFilter ¶
type PermissionsFilter interface { LeftJoin() string With() (string, []interface{}) Where() (string, []interface{}) // contains filtered or unexported methods }
func NewAccessControlDashboardPermissionFilter ¶
func NewAccessControlDashboardPermissionFilter(user *user.SignedInUser, permissionLevel dashboards.PermissionType, queryType string, features featuremgmt.FeatureToggles, recursiveQueriesAreSupported bool) PermissionsFilter
NewAccessControlDashboardPermissionFilter creates a new AccessControlDashboardPermissionFilter that is configured with specific actions calculated based on the dashboards.PermissionType and query type The filter is configured to use the new permissions filter (without subqueries) if the feature flag is enabled The filter is configured to use the old permissions filter (with subqueries) if the feature flag is disabled
Click to show internal directories.
Click to hide internal directories.