Skip to content

fix: minestom permission checking#1658

Merged
0utplay merged 1 commit into
nightlyfrom
fix/minestom-permission-checking
Jun 18, 2025
Merged

fix: minestom permission checking#1658
0utplay merged 1 commit into
nightlyfrom
fix/minestom-permission-checking

Conversation

@0utplay

@0utplay 0utplay commented Jun 16, 2025

Copy link
Copy Markdown
Member

Motivation

During the api-impl split we introduced a MinestomPermissionChecker service as Minestom does not have any permission checking capabilities anymore. The service discovery does not work properly as the service is resolved before the service was registered.

Modification

Use a provider to allow lazy construction of the PermissionChecker.

Result

The MinestomPermissionChecker is properly resolved when needed.

@0utplay 0utplay added this to the 4.0.0-RC13 milestone Jun 16, 2025
@0utplay 0utplay requested a review from derklaro June 16, 2025 20:06
@0utplay 0utplay self-assigned this Jun 16, 2025
@0utplay 0utplay added v: 4.X This pull should be included in the 4.0 release t: fix A pull request introducing a fix for a bug. in: module An issue/pull request releated to one of the internal modules labels Jun 16, 2025
@github-actions

Copy link
Copy Markdown

Test Results

 51 files  ±0   51 suites  ±0   1m 17s ⏱️ -9s
452 tests ±0  452 ✅ ±0  0 💤 ±0  0 ❌ ±0 
783 runs  ±0  783 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 036970a. ± Comparison against base commit b37fbba.

@0utplay 0utplay merged commit 5a15401 into nightly Jun 18, 2025
6 checks passed
@0utplay 0utplay deleted the fix/minestom-permission-checking branch June 18, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: module An issue/pull request releated to one of the internal modules t: fix A pull request introducing a fix for a bug. v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants