craftcms / craftcms/cms

Request: Automatically add (or mention) CP access when editing permissions are checked

Open
#3,243 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Problem:

It's possible to give users permission to edit various parts of a site, but they can't actually log into the CP to access the editing interface. Just hypothetically speaking, of course. I certainly didn't spend an hour troubleshooting this... 😉

Possible solutions:

  • When a permission is selected that requires CP access, automatically check the "Access the CP" permission
  • When a permission is selected that requires CP access and "Access the CP" is not selected, show a warning immediately or upon save

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are identified. Start by locating the permission-editing interface and how the “Access the CP” permission is represented; review both proposed behaviors in the issue. Done means the selected behavior prevents users from assigning edit permissions without CP access.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.