parse-community / parse-community/parse-dashboard
Dashboard login with Parse Server `_User`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
- Parse Dashboard users are hard coded and separate from Parse Server managed users in
_Users. - A dashboard user executes requests with the master key.
Feature / Enhancement Description
Allow log-in to Parse Dashboard with Parse Server managed user from _User class.
In combination with server side storage (https://github.com/parse-community/parse-dashboard/issues/2555), user specific feature access can also be related to users. For example a user may (not) be allowed to access Parse Job Status or send a Push notification from Parse Dashboard.
There are also other feature suggestions where Parse Server plays a more integrated role with Parse Dashboard:
- https://github.com/parse-community/parse-dashboard/issues/1618
- https://github.com/parse-community/parse-dashboard/issues/1744
- https://github.com/parse-community/parse-dashboard/pull/2850
This suggests that the integration of Parse Server is a strategically meaningful direction. At some point in the future, Parse Dashboard should be treated as "just another client app" without requiring the user of master key.
Example Use Case
- Whether a user should be able to log into dashboard can be restricted in the Cloud Code beforeLogin trigger, based on the client ID (which the dashboard should send) and the user. For example, every user that is member of a specific
_Rolecan be allowed to log in from that client. However, such a restriction is not significant anymore, since a user only has the permissions assigned to them and is not using the master key anymore.
Alternatives / Workarounds
n/a
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the related server-side storage issue 2555 and the linked integration proposals 1618, 1744, and pull request 2850. Define the authentication and permission boundaries needed for Parse Server _User accounts, then verify that dashboard access is user-specific and no longer relies on the master key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100