-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added optional advanced section on entry creation for adding users to… #1323
added optional advanced section on entry creation for adding users to… #1323
Conversation
ARADDCC002
commented
Jun 12, 2024
backend/src/services/model.ts
Outdated
...modelParams.collaborators, | ||
{ | ||
entity: toEntity('user', user.dn), | ||
roles: ['owner'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't we always want the user who is making this request to be owner?
backend/src/services/model.ts
Outdated
export type CreateModelParams = Pick<ModelInterface, 'name' | 'teamId' | 'description' | 'visibility' | 'settings'> | ||
export type CreateModelParams = Pick< | ||
ModelInterface, | ||
'name' | 'teamId' | 'description' | 'visibility' | 'settings' | 'collaborators' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add 'kind' to this list while you're here? I think I accidentally removed it at some point...