LBAC for datasources: Override lbac rules if present when updating via datasources endpoints (#94608)

bloc updates to datasources
This commit is contained in:
Eric Leijonmarck
2024-10-17 11:29:30 +01:00
committed by GitHub
parent 573b40ab98
commit a46ff09bf9
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -205,6 +205,8 @@ type UpdateDataSourceCommand struct {
EncryptedSecureJsonData map[string][]byte `json:"-"`
UpdateSecretFn UpdateSecretFn `json:"-"`
IgnoreOldSecureJsonData bool `json:"-"`
OnlyUpdateLBACRulesFromAPI bool `json:"-"`
}
// DeleteDataSourceCommand will delete a DataSource based on OrgID as well as the UID (preferred), ID, or Name.