Skip to content

feat: declare agones command permission#59

Merged
lusu007 merged 1 commit into
mainfrom
feat/use-grounds-dependencies-bom
Jun 30, 2026
Merged

feat: declare agones command permission#59
lusu007 merged 1 commit into
mainfrom
feat/use-grounds-dependencies-bom

Conversation

@lusu007

@lusu007 lusu007 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Description

Declares the Velocity /agones command permission in the plugin permission manifest and adds focused tests around the command gate.

Permission key:

  • grounds.command.agones

Manifest resource:

  • META-INF/grounds/permissions.json

The command already used the correct grounds.command.<commandName> shape; this PR now makes that permission discoverable for the permissions catalog and locks the behavior with tests.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • ♻️ Refactoring
  • 📚 Documentation
  • 🔧 Chore

Related Issues

  • Fixes #

Testing

  • Unit tests pass
  • Manual testing completed
  • New tests added for new functionality

Verified with:

  • ./gradlew :velocity:test --tests gg.grounds.command.AgonesCommandTest --tests gg.grounds.command.AgonesPermissionManifestTest
  • ./gradlew test
  • ./gradlew spotlessApply
  • ./gradlew build

Checklist

  • I have performed a self-review of my own code
  • Tests have been added/updated and pass (if needed)
  • Documentation has been updated (if needed)

@lusu007 lusu007 marked this pull request as ready for review June 29, 2026 16:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 610635f9a2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/minestom-permissions/AgonesPermissionGateExample.kt Outdated
@lusu007 lusu007 force-pushed the feat/use-grounds-dependencies-bom branch from 610635f to 7c469b2 Compare June 29, 2026 16:40
@lusu007 lusu007 changed the title docs: add permissions integration example feat: gate agones command with permission Jun 29, 2026
@lusu007 lusu007 force-pushed the feat/use-grounds-dependencies-bom branch from 7c469b2 to 749679e Compare June 29, 2026 16:46
@lusu007 lusu007 changed the title feat: gate agones command with permission feat: declare agones command permission Jun 29, 2026
@lusu007 lusu007 force-pushed the feat/use-grounds-dependencies-bom branch from 749679e to 16128ee Compare June 30, 2026 15:19
@sonarqubecloud

Copy link
Copy Markdown

@lusu007 lusu007 merged commit 9a3f93d into main Jun 30, 2026
3 checks passed
@lusu007 lusu007 deleted the feat/use-grounds-dependencies-bom branch June 30, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant