Documentation ¶
Index ¶
- func CreateDashboard(t *testing.T, db db.DB, cfg *setting.Cfg, features featuremgmt.FeatureToggles, ...) *dashboards.Dashboard
- func SetupRBACPermission(t *testing.T, db db.DB, role *accesscontrol.Role, user *user.SignedInUser)
- func SetupRBACRole(t *testing.T, db db.DB, user *user.SignedInUser) *accesscontrol.Role
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDashboard ¶
func CreateDashboard(t *testing.T, db db.DB, cfg *setting.Cfg, features featuremgmt.FeatureToggles, cmd dashboards.SaveDashboardCommand) *dashboards.Dashboard
func SetupRBACPermission ¶
func SetupRBACPermission(t *testing.T, db db.DB, role *accesscontrol.Role, user *user.SignedInUser)
func SetupRBACRole ¶
func SetupRBACRole(t *testing.T, db db.DB, user *user.SignedInUser) *accesscontrol.Role
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.