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

Users endpoint does not expose custom user properties #211

Closed
tisto opened this issue Feb 23, 2017 · 4 comments
Closed

Users endpoint does not expose custom user properties #211

tisto opened this issue Feb 23, 2017 · 4 comments

Comments

@tisto
Copy link
Sponsor Member

tisto commented Feb 23, 2017

The user properties in the plone.restapi serializer are currently hard-coded:

https://github.com/plone/plone.restapi/blob/master/src/plone/restapi/serializer/user.py#L21

It would be nice if plone.restapi would expose custom user properties automatically. Problem might be that this differs significantly between Plone 4 and 5.

@tisto
Copy link
Sponsor Member Author

tisto commented Feb 23, 2017

@lukasgraf
Copy link
Member

I think this came up in earlier discussions around serializing user properties:

We might want to be careful here about exposing people's custom properties (at least by default), because it's conceivable that people store sensitive information in custom user properties, like access tokens.

@tomgross
Copy link
Member

tomgross commented Mar 1, 2017

Did someone look into http://www.simplecloud.info/ as for the user / roles / password endpoint format?

@davisagli
Copy link
Sponsor Member

This was fixed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants