Automattic / Automattic/co-authors-plus

Rewrite permissions to use map meta cap

Open
#103 2 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
PHP
Stars
322
Forks
216
Avg merge
7h 50m
Merged PRs (30d)
65

Description

It's a better approach than filtering user_has_cap. See discussion in http://core.trac.wordpress.org/ticket/22415

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in WordPress Trac ticket 22415, since the issue provides no file or test entry point. Determine the permission behavior that must move from filtering user_has_cap to using map_meta_cap; done means the permissions follow that approach and existing behavior remains covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
authorization
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.