Rodrigo Gomes da Silva
e19c67adde
refactor(sessions): resolve project ownership through _profiles_match
...
profile_scoped_project_ids() duplicated the body of the canonical
api/profiles.py::_profiles_match, whose docstring says it was relocated there
precisely so callers stop duplicating it. Call it instead.
Behaviour-identical: both spellings agree on all twelve None / '' / 'default' /
renamed-root / foreign-profile combinations, which the new parametrised test
asserts cell for cell against _profiles_match itself. It is a drift guard, not
a regression test — swapping the call back to a raw
`p.get('profile') == active` comparison reddens seven of its twelve cells.
2026-09-24 11:03:46 -03:00
..
2026-03-31 07:02:47 +00:00
2026-09-17 21:26:50 +00:00
2026-07-14 16:36:23 +08:00
2026-09-15 22:14:09 -07:00
2026-09-24 11:03:46 -03:00
2026-07-31 20:27:32 -04:00
2026-09-22 12:06:09 +00:00
2026-09-23 21:23:32 +08:00
2026-04-24 01:24:51 +00:00
2026-08-20 09:28:23 +00:00
2026-09-24 09:53:02 +02:00
2026-06-26 00:12:09 +00:00
2026-09-20 22:18:32 +00:00
2026-07-04 21:42:32 +08:00
2026-09-24 03:15:02 +00:00
2026-07-29 17:41:46 +00:00
2026-05-19 21:35:10 -04:00
2026-07-20 17:49:23 +00:00
2026-08-18 19:23:41 +00:00
2026-09-23 18:43:39 -06:00
2026-07-14 16:01:56 +08:00
2026-09-24 11:53:47 +00:00
2026-08-17 10:45:59 +00:00
2026-09-23 02:50:40 -06:00
2026-09-17 21:26:50 +00:00
2026-09-24 09:53:02 +02:00
2026-09-23 12:03:33 +08:00
2026-07-13 17:56:44 -04:00
2026-09-24 11:03:46 -03:00
2026-09-17 21:26:50 +00:00
2026-07-02 01:15:57 +00:00
2026-09-22 23:56:38 +00:00
2026-09-08 01:53:01 +00:00
2026-07-18 20:32:56 +02:00
2026-06-05 11:35:26 -07:00
2026-06-02 03:58:02 +00:00
2026-09-23 08:32:08 +00:00
2026-09-24 09:53:02 +02:00
2026-08-13 20:15:30 -07:00
2026-07-09 04:22:21 +00:00
2026-09-19 07:26:12 -04:00
2026-08-18 04:25:26 +00:00
2026-09-22 06:29:27 +00:00
2026-09-24 01:06:03 -03:00
2026-09-24 11:03:46 -03:00
2026-09-23 11:11:52 +00:00
2026-06-19 13:16:39 -04:00
2026-05-21 17:43:54 +00:00
2026-08-07 21:34:34 +00:00
2026-06-15 00:10:01 -07:00
2026-07-02 02:36:09 +00:00
2026-07-04 21:40:21 +00:00
2026-08-26 00:24:07 +00:00
2026-09-23 06:34:38 -03:00
2026-07-23 01:21:59 +00:00
2026-05-27 20:57:32 +08:00
2026-06-19 22:09:17 +00:00
2026-05-01 12:10:48 +00:00
2026-09-07 23:34:45 +00:00
2026-09-24 10:54:56 +00:00
2026-08-18 04:25:26 +00:00
2026-08-13 17:47:46 +00:00
2026-07-25 00:33:41 +02:00
2026-06-04 16:46:20 -07:00
2026-06-07 23:18:51 -07:00
2026-08-24 10:19:53 -04:00
2026-09-22 12:06:09 +00:00
2026-05-19 02:27:12 -06:00
2026-07-05 06:45:50 +08:00
2026-08-18 04:25:26 +00:00
2026-09-19 00:20:05 +01:00
2026-08-18 04:25:26 +00:00