merge main

This commit is contained in:
Ryan McKinley committed 2025-03-03 23:08:19 +03:00
commit bf5427e24c
97 files changed
+7549 -511

No files matched your search

+4
View File
@@ -71,6 +71,10 @@ func (hs *HTTPServer) declareFixedRoles() error {
Grants: []string{string(org.RoleEditor)},
}
if hs.Cfg.ViewersCanEdit {
datasourcesExplorerRole.Grants = append(datasourcesExplorerRole.Grants, string(org.RoleViewer))
}
datasourcesReaderRole := ac.RoleRegistration{
Role: ac.RoleDTO{
Name: "fixed:datasources:reader",