As a site admin, I want to set which pages a super group can edit, so that I can restrict permissions to those necessary
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- authorization
Research direction
Start by locating the /pages permission checks and the code that reads PAGE_EDITOR_GROUPS; then read the site settings and super group management entry points. Trace how page editor permissions are stored and applied before estimating the change. Done means site admins can assign active super groups to specific pages and review all configured page editors; removing the environment variable is optional.
Written by the indexing model from the issue text.
Description
🚨 Problem
Currently all pages under /pages are editable by all site admins and those configured as page editors. This leads to more broad access than what is necessary. For instance snIT mostly needs to be able to edit the page for their meeting minutes but that would also give them permission to edit pages like SAMO. Another issue is that this is configured through environment variables meaning that only digIT is able to update the list in the first place, not other site admins.
📝 Description
Instead, site admins should be able to add a few pages that members of an active super group can edit. It would be nice to get an overview of all pages' permissions so maybe a new tab in the site settings would be a good place for this? Would also be good for having an overview of which pages exist in general and may have action buttons for editing or deleting.
✅ Acceptance Criteria
- It is possible for site admins to configure an active super group as a page editor of a specific page
- There is an overview of all configured page editors so outdated permissions can be spotted easily
- (Optional) Remove the
PAGE_EDITOR_GROUPSenvironment variable entirely
💡 Additional context
No response
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
More from cthit/chalmers.it
-
suggestion
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
cthit/chalmers.it#246 ·
-
documentation suggestion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cthit/chalmers.it#229 · 5 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cthit/chalmers.it#209 ·
-
suggestion
Difficulty 4/5 3-5 days Newbie friendliness 51/100
cthit/chalmers.it#242 ·
-
suggestion
Difficulty 3/5 1-2 days Newbie friendliness 55/100
cthit/chalmers.it#241 ·
All issues in cthit/chalmers.it
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day