parse-community / parse-dashboard

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

Allow disabling the Export to csv menu #2434

Open victorx98 opened 1 year ago

victorx98 commented 1 year ago

Can we implement this in the configuration that allow us to disable the Export to csv menu? Or even better: we can define which dashboard user can use the Export to csv feature.

Thanks

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

Thanks for opening this issue!

AshishBarvaliya commented 1 year ago

@mtrezza Which feature should we have to implement, feature 1 or feature 2?

1) the configuration that allow us to disable the Export to csv menu. 2) we can define which dashboard user can use the Export to csv feature.

Implementing feature 1 is relatively straightforward, but when it comes to feature 2, I'll need more information from you regarding the validation process for users or roles. Could you provide details on how we plan to validate users or determine their roles?

mtrezza commented 1 year ago

Per user I'd say. I'm not sure how users are managed internally in Parse Dashboard, I think @dblythy could give advice on that, he worked on a few user features recently - do we have any other option currently that is user-based?

In general I think there should be 3 scopes of a config, but not sure whether they all already exist in some form: