Skip to content

feat(permissions): implement global permission commands - #24

Merged
smitt14ua merged 1 commit into
mainfrom
feat/permissions
May 13, 2026
Merged

smitt14ua merged 1 commit into
mainfrom
feat/permissions

Conversation

@smitt14ua

Copy link
Copy Markdown
Contributor

Closes #13

Summary

  • Implements permissionlist, permidgetbyname, permoverview, permget, permfind, permreset
  • 9 response DTOs under src/Responses/Permissions/
  • 8 resource tests + 9 DTO tests (100% coverage maintained)
  • COMMANDS.md updated with PHP usage examples

API

$teamspeak->permissions()->list();
$teamspeak->permissions()->getIdByName(name: 'b_serverinstance_help_view');
$teamspeak->permissions()->overview(channelId: 1, clientDatabaseId: 2);
$teamspeak->permissions()->get(id: 17835);
$teamspeak->permissions()->get(id: 'b_serverinstance_help_view');
$teamspeak->permissions()->find(id: 17835);
$teamspeak->permissions()->find(id: 'b_serverinstance_help_view');
$teamspeak->permissions()->reset();

Test plan

  • composer test passes (Rector, Pint, PHPStan max, 100% type coverage, 100% code coverage)

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@smitt14ua
smitt14ua merged commit a53fcae into main May 13, 2026
12 checks passed
@smitt14ua
smitt14ua deleted the feat/permissions branch May 13, 2026 22:37
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.

feat: implement global permission commands

1 participant