Codeinwp / Codeinwp/wp-maintenance-mode

Frontend access

Open
#116 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
163
Forks
82
Avg merge
8h 31m
Merged PRs (30d)
8

Description

I brought a small improvement . In access management frontend . I added the possibility that all users can access the frontend. For if I selects subscriber , other roles above (editor) do not have access .

It would be better to select the user capacity rather than roles .

In France, it is often said : " Who can do more can do less"

views/settings.php - line 57 - add

plugin_settings['general']['frontend_role'], 'read'); ?>>All Users

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

Start in views/settings.php at line 57 and trace how frontend_role is read when access is checked. Add the All Users option described in the issue and verify that selecting it allows all users to access the frontend while preserving the existing role choices.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.