Cleanups: stale UncheckAll proto comment, dead isManager binding #117

Closed
opened 2026-08-18 10:45:22 +00:00 by nalum · 1 comment
Owner

From the surface parity report (2026-08-18), defects 5 and 6.

  1. Stale proto comment — the comment on UncheckAll still says "ADMIN/MEMBER only". The matrix grants CHILD and the handler carries no role check. The matrix is authoritative; the comment misleads. Where: proto/api/core/v1/item.proto:296 vs pkg/roles/permissions.go:123.
  2. Dead permission binding — Jobs.kt:80 declares isManager (ItemService/Delete) and never uses it.
From the surface parity report (2026-08-18), defects 5 and 6. 1. **Stale proto comment** — the comment on `UncheckAll` still says "ADMIN/MEMBER only". The matrix grants CHILD and the handler carries no role check. The matrix is authoritative; the comment misleads. Where: `proto/api/core/v1/item.proto:296` vs `pkg/roles/permissions.go:123`. 2. **Dead permission binding** — `Jobs.kt:80` declares `isManager` (`ItemService/Delete`) and never uses it.
Author
Owner

Delivered in PR #144 (merged): the UncheckAll proto comment now points at the PermissionMatrix (gen regenerated via make proto) and the dead isManager binding in Jobs.kt is gone.

Delivered in PR #144 (merged): the UncheckAll proto comment now points at the PermissionMatrix (gen regenerated via make proto) and the dead isManager binding in Jobs.kt is gone.
nalum closed this issue 2026-08-18 16:46:45 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eagraiclainne/app#117
No description provided.