Skip to content
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

Merged

Conversation

ARADDCC002
Copy link
Member

image

image

...modelParams.collaborators,
{
entity: toEntity('user', user.dn),
roles: ['owner'],
Copy link
Member

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?

export type CreateModelParams = Pick<ModelInterface, 'name' | 'teamId' | 'description' | 'visibility' | 'settings'>
export type CreateModelParams = Pick<
ModelInterface,
'name' | 'teamId' | 'description' | 'visibility' | 'settings' | 'collaborators'
Copy link
Member

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...

@ARADDCC002 ARADDCC002 merged commit bfb26e8 into main Jun 18, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants