dgtlmoon / dgtlmoon/changedetection.io

[feature] multiple levels of access control?

Open
#724 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
23h 38m
Merged PRs (30d)
67

Description

**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
* `owner`: with full access to all features, including changing sitewide configurations
* `collaborator`: have view access and also able to `recheck` and change some of the entries that are allowed to be edited, but not the website configurations
* `view`: only have view access

**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.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Begin by clarifying the proposed roles, permissions, protected settings, and migration behavior before locating the existing password access-control implementation. Done would require an agreed access model, implemented enforcement, and tests covering owner, collaborator, and view permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.