Skip to content

refactor(permissions): adopt canWrite() helper in move-event ability#292

Merged
chubes4 merged 1 commit into
mainfrom
refactor-move-event-permissions
May 20, 2026
Merged

refactor(permissions): adopt canWrite() helper in move-event ability#292
chubes4 merged 1 commit into
mainfrom
refactor-move-event-permissions

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 20, 2026

Follow-up to #290 — adopts the shared AbilityPermissions::canWrite() helper from #288/#291 (which merged after #290). No functional change beyond the permission_callback shape.

Also removes the stale TODO(#288) comment that the original PR left as a marker.

Refs #287, #288, #290.

… move-event ability

Follow-up to #290 — adopts the shared AbilityPermissions::canWrite()
helper introduced by #288/#291. #290 merged before the helper landed,
so the move-event ability shipped with a manage_options stub and a
TODO referencing #288. This swaps it to the helper to match the rest
of the EC-events surface (e.g. EventUpdateAbilities) and removes the
stale TODO.

No functional change beyond the permission_callback shape.

Refs #287, #288, #290.
@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 20, 2026

Homeboy Results — data-machine-events

Audit

audit — passed

  • requested_detectors — 2 finding(s)
  • intra-method-duplication — 1 finding(s)
  • test_coverage — 1 finding(s)
  • Total: 4 finding(s)

Deep dive: homeboy audit data-machine-events --changed-since fa857db

Tooling versions
  • Homeboy CLI: homeboy 0.194.0+8e4daa0
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: edb75b19
  • Action: Extra-Chill/homeboy-action@v2

@chubes4 chubes4 merged commit 6f93753 into main May 20, 2026
1 check 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