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

In a UserResponse rolePerms is optional, but required in all other response models. #13

Open
michaelbromley opened this issue Aug 2, 2017 · 0 comments

Comments

@michaelbromley
Copy link
Collaborator

See https://github.com/gentics/mesh-ui/blob/f3880d4c045d573c40a229ee0e14b0b96f415efe/src/app/common/models/server-models.ts#L4288

In fact, I think rolePerms should always be optional, since it depends on the role query parameter. I'm not sure if the error there lies with the Raml or with the model generator.

On a related theme, the editor property of the UserResponse is also optional, whereas all other response models have it as required. I have created this Jira ticket after discussing the editor thing with Johannes: https://jira.gentics.com/browse/CL-605

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

No branches or pull requests

1 participant