• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mjacobus / khtools / 36867759405
77%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2026 01:21PM UTC
Jobs 1
Files 222
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Oct 2026 01:18PM UTC coverage: 77.178% (+0.2%) from 77.021%
36867759405

push

github

web-flow
Show users their own territories (#416)

* Show users their own territories

Users linked to a publisher now see a "Meus Territórios" section on the
home page, listing every territory assigned to them. Territory lists
also get Todos/Meus buttons at the top. "Meus" applies the existing
assignee filter with the user's publisher.

Closes #407

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Add screenshots of the user's own territories

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Stop committing PR screenshots

Screenshots are attached to the PR with gh --attach instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Attach PR screenshots with gh --attach in the browser-e2e skill

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Only list the current congregation's territories as mine

Territory assignment doesn't check that the assignee belongs to the
same account, so a publisher could hold a territory from another
congregation. Going through current_account keeps that territory off
the home page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Link my territories only when the user may open them

Territory pages still go through the controller ACL, so a linked user
without territory permissions clicked through to "access denied". The
home page now lists those territories by name only. The permission
check moved to User#authorized_for? so the ACL and the page share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

32 of 33 new or added lines in 4 files covered. (96.97%)

3003 of 3891 relevant lines covered (77.18%)

36.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.89
5.56% app/components/home/dashboard_component.rb
Jobs
ID Job ID Ran Files Coverage
1 36867759405.1 01 Oct 2026 01:21PM UTC 222
77.18
GitHub Action Run
Source Files on build 36867759405
  • Tree
  • List 222
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 203d3e22 on github
  • Prev Build on master (#36858621776)
  • Next Build on master (#36901952553)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc