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

Add javascript method to set oc_preferences #19361

Closed
rullzer opened this issue Sep 25, 2015 · 4 comments
Closed

Add javascript method to set oc_preferences #19361

rullzer opened this issue Sep 25, 2015 · 4 comments

Comments

@rullzer
Copy link
Contributor

rullzer commented Sep 25, 2015

As indicated by https://github.com/owncloud/core/blob/master/core/js/config.js#L58 we need a proper way to set preferences via javascript.

Then we could convert #19354 to use per user preferences instead of global.

CC: @PVince81

@PVince81
Copy link
Contributor

Is there an OCS API for that ?
The one that comes to mind is a different one and is called "privatedata".

@ghost ghost modified the milestones: 9.1-next, 9.0-current Feb 22, 2016
@PVince81 PVince81 modified the milestones: 9.1-current, 9.2-next Jun 14, 2016
@PVince81
Copy link
Contributor

PVince81 commented Dec 8, 2016

moving to backlog. If these APIs are needed by features, they should be added as part of it.

@PVince81 PVince81 modified the milestones: backlog, 10.0 Dec 8, 2016
@PVince81
Copy link
Contributor

I don't think it's a good idea as it would open a way for users to change arbitrary values in their preferences and potentially break things. Changing arbitrary values is something I'd only leave up to an admin.

For now, apps need to use their own endpoints to set specific user preferences as needed.

@lock
Copy link

lock bot commented Aug 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants