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
Review the public settings API #4074
Comments
These views are calling publicSettings:
so in this breaking change we need to refactor stateManager should be refactored to call the authenticated settings method, and only when authenticated. account, users, user - can probably also take their values from the state manager (reducing calls to the server) |
main problem is this:
StateManager.initalize should be called anyway, because otherwise the app doesn't work. But the call to the authenticated settings should be moved to another method, so we can either call it inside |
just found another needed change. |
@chiptus we're gonna postpone this piece of work. |
… be online EE-6182 (portainer#4074)
At the moment, the
api/settings/public
endpoint exposes the following details for non-authenticated users:Only the following properties should be exposed publicly:
The rest of the API parameters should be available behind authentication.
This will introduce an API breaking change.
The text was updated successfully, but these errors were encountered: