Skip to content

Support full role permission checks - #103

Draft
Pybsama wants to merge 1 commit into
github:mainfrom
Pybsama:codex/fix-maintain-role-permission
Draft

Support full role permission checks#103
Pybsama wants to merge 1 commit into
github:mainfrom
Pybsama:codex/fix-maintain-role-permission

Conversation

@Pybsama

@Pybsama Pybsama commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • match the full collaborator role_name as well as the legacy base permission
  • allow maintain-only configurations to distinguish maintainers from ordinary writers
  • preserve existing write/admin compatibility, document the behavior, and rebuild the Action bundle

This intentionally matches either API field: GitHub maps maintain to write and triage to read in the legacy permission field, so replacing that field outright would break existing base-permission configurations.

Tests

  • npm run test — 12 suites, 106 tests, 100% line coverage
  • npm run all
  • npm run format-check

Fixes #101

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.

"maintain" cannot be used to verify actor permissions

1 participant