mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 08:42:15 +08:00
Nested Folders: Set user in the API level (#59148)
This commit is contained in:

committed by
GitHub

parent
4a628f18b0
commit
02b6b09121
@ -321,7 +321,7 @@ func createFolderWithACL(t *testing.T, sqlStore db.DB, title string, user user.S
|
||||
t.Logf("Creating folder with title and UID %q", title)
|
||||
ctx := appcontext.WithUser(context.Background(), &user)
|
||||
folder, err := s.Create(ctx, &folder.CreateFolderCommand{
|
||||
OrgID: user.OrgID, Title: title, UID: title,
|
||||
OrgID: user.OrgID, Title: title, UID: title, SignedInUser: &user,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
|
Reference in New Issue
Block a user