Limit access to the "Parse.ly Stats" link
Open
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.
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:
- Regulate access by checking for a hardcoded user capability.
- Regulate access by providing settings similar to what we do for our PCI AI features.
Contributor 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.
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