getgrav / getgrav/grav-theme-learn2

Hide sidebar content if user not logged in

Open
#27 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
79
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Is it possible to enable security with login plugin for sidebar? Access is set pages but anonymous user can still view page titles on sidebar.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the theme's sidebar rendering and how the Grav login plugin exposes the current user's access state. Reproduce the issue as an anonymous user with a restricted page, then verify that restricted page titles and related sidebar content are no longer shown.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, frontend
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.