dgtlmoon / changedetection.io

The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
https://changedetection.io
Apache License 2.0
18.63k stars 1.02k forks source link

[feature] multiple levels of access control? #724

Open 94rain opened 2 years ago

94rain commented 2 years ago

Version and OS N/A

Is your feature request related to a problem? Please describe. Currently, we are only able to choose to set a password to restrict access to the dashboard. A visitor will either have full read and edit access to the dashboard (including changing sitewide configurations) if they know the password or no password is set, or have completely no access.

Describe the solution you'd like

For a simple version, we may have roles such as

Describe the use-case and give concrete real-world examples When we want to share the monitoring results on the website with some people, but don't want them to modify the rules or accidentally delete an entry, the view role would be quite useful. And sometimes we don't want to let the collaborator change sitewide configurations and we want to protect some entries from editing.

Additional context I am quite open-minded. Just want to start the discussion. Anything is better than the current all-or-nothing access control.

dgtlmoon commented 2 years ago

https://pythonhosted.org/Flask-Principal/

94rain commented 2 years ago

Cool! Thanks for the info.

jgupta commented 11 months ago

@dgtlmoon I need this functionality and can try to develop this. Can you please give short brief on how should I approach this?

dgtlmoon commented 11 months ago

@jgupta no sorry, i will not, i dont have time for it, and i dont have time for looking at PRs related to it, so answer is , no unfortunately.

jgupta commented 11 months ago

@jgupta no sorry, i will not, i dont have time for it, and i dont have time for looking at PRs related to it, so answer is , no unfortunately.

@dgtlmoon I understand. This saved my time. I don't want to work on something that won't be merged.