Persist legacy creator access when promoting to creator

This commit is contained in:
Andrew Kingston 2023-11-24 17:27:22 +00:00
parent 178ee3b5c1
commit 168e875662
1 changed files with 5 additions and 1 deletions

View File

@ -187,7 +187,11 @@
} else if (detail === Constants.BudibaseRoles.Creator) {
toggleFlags({
admin: { global: false },
builder: { global: false, creator: true },
builder: {
global: false,
creator: true,
apps: user?.builder?.apps || [],
},
})
}
}