Skip to content

fix: include USB device permission in Profile ACLs - #10

Merged
guantw merged 1 commit into
masterfrom
fix/usb-device-profile-acl
Sep 2, 2026
Merged

guantw merged 1 commit into
masterfrom
fix/usb-device-profile-acl

Conversation

@guantw

@guantw guantw commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Changes

  • include ohos.permission.READ_WRITE_USB_DEV in the Profile ACL allowlist
  • make the permission extraction regression test deterministic
  • update release download, checksum, CLI, and external-agent guidance
  • document the user-visible ACL behavior in the changelog

Validation

  • python -m ruff format --check .
  • python -m ruff check .
  • python -m pytest tests/test_pipeline.py -q (59 passed)
  • python -m pytest -q (297 passed, 2 skipped)
  • git diff --check
  • New logic has an account- and device-independent regression test
  • User-visible behavior is documented in CHANGELOG.md
  • No token, certificate, private key, UDID, HAP, log, or local configuration is included
  • Release asset names and publisher-signing metadata were checked against the live GitHub Release
  • python -m pytest --cov (the available local test environment does not include pytest-cov; GitHub Actions runs the coverage command)

Manual testing

  • Confirmed the API 23 SDK defines READ_WRITE_USB_DEV as system_basic with provisionEnable=true.
  • No signing materials were refreshed and no HAP was installed during this review.

Pass READ_WRITE_USB_DEV through Profile ACL extraction and add deterministic regression coverage.

Refresh release download guidance and document the user-visible change.
@guantw
guantw merged commit 8771261 into master Sep 2, 2026
9 checks passed
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