Add demiurge role to FolderRoles

This commit is contained in:
Sosthene 2025-06-13 20:24:17 +02:00
parent d5088d9e36
commit 2084b99978

View File

@ -90,6 +90,11 @@ export interface FolderCreated {
export function setDefaultFolderRoles(ownerId: string, stakeholdersId: string[], customersId: string[]): Record<string, RoleDefinition> { export function setDefaultFolderRoles(ownerId: string, stakeholdersId: string[], customersId: string[]): Record<string, RoleDefinition> {
return { return {
demiurge: {
members: [ownerId],
validation_rules: [],
storages: []
},
owner: { owner: {
members: [ownerId], members: [ownerId],
validation_rules: [ validation_rules: [