Skip to content

refact!: new Kirby\Panel\Access class #7383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v6/develop
Choose a base branch
from

Conversation

distantnative
Copy link
Member

@distantnative distantnative commented Jul 15, 2025

Changelog

Refactored

  • New Kirby\Pane\Access class for checking Panel access permissions

Breaking changes

  • Kirby\Panel\Panel::firewall() and Kirby\Panel\Panel::hasAccess() have been removed. Use Kirby\Panel\Panel::access()->area() instead.

For review team

  • Add changes & docs to release notes draft in Notion

@distantnative distantnative added this to the 6.0.0-alpha.1 milestone Jul 15, 2025
@distantnative distantnative requested a review from a team July 15, 2025 01:36
@distantnative distantnative self-assigned this Jul 15, 2025
@distantnative distantnative mentioned this pull request Jul 15, 2025
12 tasks
@distantnative distantnative force-pushed the v6/refact/panel-access-class branch 2 times, most recently from 4df3f1a to 73c36f8 Compare July 15, 2025 01:48
@distantnative distantnative marked this pull request as ready for review July 15, 2025 01:54
@distantnative distantnative force-pushed the v6/refact/panel-access-class branch from 73c36f8 to 191ec1e Compare July 17, 2025 11:20
@distantnative distantnative marked this pull request as draft July 17, 2025 11:20
@distantnative distantnative force-pushed the v6/refact/panel-access-class branch 3 times, most recently from 081b4e0 to 0952c1b Compare July 19, 2025 14:40
BREAKING CHANGE: `Kirby\Panel\Panel::firewall()` has been removed. Use Kirby\Panel\Access:has()` instead.
BREAKING CHANGE: `Kirby\Panel\Panel::hasAccess()` has been removed. Use Kirby\Panel\Access:has()` instead.
@distantnative distantnative force-pushed the v6/refact/panel-access-class branch from 0952c1b to b136e38 Compare July 19, 2025 14:42
@distantnative distantnative marked this pull request as ready for review July 19, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant