parse-community / parse-dashboard

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

Identify and mark invalid users and roles in Permissions Dialog #2437

Closed FransGH closed 1 year ago

FransGH commented 1 year ago

New Feature / Enhancement Checklist

Current Limitation

An object might have invalid user or role references. Currently the Permissions Dialog checks if all are valid. If one is invalid, all the entries are shown without their name (users) or object id (roles). It is first all confusing why sometimes the names/id's don't appear and 2nd it would be helpful to quickly identify invalid entries.

Feature / Enhancement Description

Always show the name (for users) and id (for roles) for valid entries. Mark invalid entries as invalid (not found) with a clear visual distinction.

Example Use Case

A role or user gets deleted while it is still used in an ACL. 1) create an object with anther user or role in the ACL 2) delete the referred user or role 3) see that the user name or role id no longer appears for any of the ACL entries, including the valid ones

Alternatives / Workarounds

None

3rd Party References

N/A

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

Thanks for opening this issue!

mtrezza commented 1 year ago

Closing via #2436