craftcms / craftcms/cms

Allow user permissions to be set across multiple sites

Open
#2,724 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

When Craft is running multiple sites, the user permissions currently act in more of a global sense. If for example I give a user permission to edit entries in the 'News' Section, that user is able to edit entries in the 'News' section for every single site that uses it.

My feature request is to allow permissions to be set more granularly per site. For example I'd like to be able to allow a user to edit entries in the 'News' Section for Site A only, and not have access to the same channel in Site's B & C.

Additional info
  • Craft version: 3.0.1

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, tests, or entry points are named. Start by locating the code that applies user permissions across sites, then define and test site-specific access for the News section; done means access is allowed on Site A and denied on Sites B and C.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.