-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
protectedFields has a picker that displays all column names of all tables in a seemingly random order (and no filtering), then silently fails to save if the column name doesn't exist in that table.
Steps to reproduce
- go to CLP -> Protected Fields
- pick column that isn't in that table
- press Save
Actual Outcome
- no visible reaction
- console.error : Uncaught TypeError: can't access property "toggleActive", r.refScrollHint.current is null
- console.error : Uncaught (in promise) Error: Field 'qweasd' in protectedFields:* does not exist
BTW there is no documentation about protected fields anywhere, the API reference doesn't say what it does and the Developers Guide only says "a one-to-one relationship is great for [...] Limiting visibility of some user data. In this scenario, you would split the object in two", which implies that Protected Fields don't really exist or that they don't do what they sound like they do. So I don't know how any Parse Server / Parse Dashboard admin is supposed to do anything at all with this feature.
Expected Outcome
- not being able to pick irrelevant columns
Environment
Dashboard
- Parse Dashboard version:
7.2.1
- Browser (Safari, Chrome, Firefox, Edge, etc.):
Firefox
- Browser version:
140.0.4
Server
- Parse Server version:
7.1
- Operating system:
Heroku 24
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Heroku
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
3.6.12
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Heroku ObjectRocket
Logs
AndreBFarias
Metadata
Metadata
Assignees
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed