parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.38k forks source link

Missing config parameter option master key required #2439

Closed mtrezza closed 1 year ago

mtrezza commented 1 year ago

New Issue Checklist

Issue Description

It's not possible anymore to set a config option as "master key required". The dialog originally contained such an option. At some point it got lost it seems.

See https://github.com/parse-community/parse-dashboard/pull/1233#issuecomment-523394095.

The current workaround is to go directly manipulate the option in the DB collection _GlobalConfig.

Steps to reproduce

Config > Add new parameter

Actual Outcome

No option to set parameter to require master key.

Expected Outcome

Should have option as in screenshot in https://github.com/parse-community/parse-dashboard/pull/1233#issuecomment-523394095.

Environment

Dashboard

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

mtrezza commented 1 year ago

Looking at the logs, its seems that the serverInfo endpoint is inaccessible:

[Error] Could not connect to the server. [Error] XMLHttpRequest cannot load http://localhost:1337/parse/serverInfo due to access control checks. [Error] Failed to load resource: Could not connect to the server. (serverInfo, line 0)

It's trying to access localhost instead of the actual server domain. I was able to replicate the issue locally with a connection to a remote server.

The request is formed via Parse._request, which is provided by the Parse JS SDK, so there may be an issue there.

parseplatformorg commented 1 year ago

🎉 This change has been released in version 5.2.0-alpha.10

parseplatformorg commented 1 year ago

🎉 This change has been released in version 5.2.0-beta.2

parseplatformorg commented 11 months ago

🎉 This change has been released in version 5.2.0