Parsely / Parsely/wp-parsely

Limit access to the "Parse.ly Stats" link

Open
#2,967 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wp-parsely
Dominant language
PHP
Stars
66
Forks
36
Avg merge
2d 2h
Merged PRs (30d)
16

Description

Is your feature request related to a problem?

Our "Parse.ly Stats" link on the top wp-admin bar shows possibly for all users, even subscribers.

image

While this isn't a data disclosure concern as users need Parse.ly dash credentials to access the stats, there's no reason to show this to everyone.

Describe the solution you'd like

On first thought, 2 potential solutions:

  1. Regulate access by checking for a hardcoded user capability.
  2. Regulate access by providing settings similar to what we do for our PCI AI features.

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 file or test is named. Start by locating where the “Parse.ly Stats” link is added to the wp-admin bar, then review the existing PCI AI settings and capability checks. Done means the link is hidden from users without the selected access while remaining available to authorized users.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
analytics, authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.