apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/bifrost.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 17353d10f3b6190deb41cd49dfebde5d creationTimestamp: "2026-05-23T08:35:15Z" generation: 7 labels: branch: main build: "100" context: release created-by-lighthouse: "true" event-GUID: 4d1bad78-5682-11f1-8c8c-97312614ac8a lighthouse.jenkins-x.io/baseSHA: 80a6cd7ef5386db23a8d4e625fb7fee8accfe0c0 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1779525315297" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-9xx9s lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 80a6cd7ef5386db23a8d4e625fb7fee8accfe0c0 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: bifrost lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-bifrost-main-release-9c7d9-from-build-pack-pod provider: github repository: bifrost tekton.dev/pipeline: apitaltrade-bifrost-main-release-9c7d9 managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:branch: {} f:context: {} f:owner: {} f:provider: {} f:repository: {} f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.18 operation: Update time: "2026-05-23T08:39:06Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} f:status: {} manager: jx-promote-0.6.31 operation: Update time: "2026-05-23T08:39:57Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} f:pipeline.jenkins-x.io/traceID: {} f:labels: .: {} f:build: {} f:created-by-lighthouse: {} f:event-GUID: {} f:lighthouse.jenkins-x.io/baseSHA: {} f:lighthouse.jenkins-x.io/branch: {} f:lighthouse.jenkins-x.io/buildNum: {} f:lighthouse.jenkins-x.io/context: {} f:lighthouse.jenkins-x.io/id: {} f:lighthouse.jenkins-x.io/job: {} f:lighthouse.jenkins-x.io/lastCommitSHA: {} f:lighthouse.jenkins-x.io/refs.org: {} f:lighthouse.jenkins-x.io/refs.repo: {} f:lighthouse.jenkins-x.io/type: {} f:podName: {} f:tekton.dev/pipeline: {} f:spec: .: {} f:baseSHA: {} f:batchPipelineActivity: {} f:build: {} f:buildLogsUrl: {} f:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-05-23T08:40:10Z" name: greencapitaltrade-bifrost-main-100 namespace: jx resourceVersion: "43119231" uid: 174e6f25-cb80-4ce6-b2f3-9df62560e652 spec: baseSHA: 80a6cd7ef5386db23a8d4e625fb7fee8accfe0c0 batchPipelineActivity: {} build: "100" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/100.log completedTimestamp: "2026-05-23T08:39:39Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: | feat(users): add default_team_id field + honour in get_user_default_team URL-based team routing in Flash (`/:team_id/...`) needs a deterministic, admin-configurable "landing team" per user. Today the default falls out of `create_date` ordering on managed/member teams, which ops can't control without re-creating records. Changes: - New `res.users.default_team_id` Many2one('asset.team') — admin-set explicit override. - `res.company.get_user_default_team(user)` checks the override first; only honoured if the team is in this company AND the user still has access (manager OR team.member). Stale overrides silently fall through to the existing managed/member fallback. - `res.users.resolve_default_team_id()` — convenience wrapper that returns the int id, for the upcoming Fury resolver that needs to feed `/:team_id/` redirects. Tests cover: override honoured when valid, ignored when stale, and fallback delegation when unset. Existing callers (`asset_module_api.py` returns `is_default` per team via this helper) automatically respect the new override. Next: Fury reads `x-gct-team-id` from headers + a `me { defaultTeamId }` resolver so Flash can SSR-redirect `/` → `//...` without extra round-trips. Co-Authored-By: Claude Opus 4.7 lastCommitSHA: e84137896c0aa8baa5b86b93cefcb40fc14a7c5a message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.67.0 startedTimestamp: "2026-05-23T08:35:15Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-05-23T08:39:39Z" name: Release startedTimestamp: "2026-05-23T08:38:39Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/3972 startedTimestamp: "2026-05-23T08:39:39Z" status: Succeeded startedTimestamp: "2026-05-23T08:39:39Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-23T08:40:00Z" name: from build pack startedTimestamp: "2026-05-23T08:35:33Z" status: Succeeded steps: - completedTimestamp: "2026-05-23T08:35:49Z" name: Git Clone startedTimestamp: "2026-05-23T08:35:33Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:52Z" name: Next Version startedTimestamp: "2026-05-23T08:35:50Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:56Z" name: Jx Variables startedTimestamp: "2026-05-23T08:35:53Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:56Z" name: Setup Npm Nexus startedTimestamp: "2026-05-23T08:35:56Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:58Z" name: Setup Pip Cache startedTimestamp: "2026-05-23T08:35:56Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:59Z" name: Process Config Templates startedTimestamp: "2026-05-23T08:35:58Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:59Z" name: Update Fleet Management Version startedTimestamp: "2026-05-23T08:35:59Z" status: Succeeded - completedTimestamp: "2026-05-23T08:36:01Z" name: Check Registry startedTimestamp: "2026-05-23T08:35:59Z" status: Succeeded - completedTimestamp: "2026-05-23T08:38:49Z" name: Build Container Build startedTimestamp: "2026-05-23T08:36:02Z" status: Succeeded - completedTimestamp: "2026-05-23T08:39:06Z" name: Promote Changelog startedTimestamp: "2026-05-23T08:38:50Z" status: Succeeded - completedTimestamp: "2026-05-23T08:39:10Z" name: Promote Helm Release startedTimestamp: "2026-05-23T08:39:07Z" status: Succeeded - completedTimestamp: "2026-05-23T08:40:00Z" name: Promote Jx Promote startedTimestamp: "2026-05-23T08:39:11Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-23T08:40:00Z" name: from build pack startedTimestamp: "2026-05-23T08:35:33Z" status: Succeeded steps: - completedTimestamp: "2026-05-23T08:35:49Z" name: Git Clone startedTimestamp: "2026-05-23T08:35:33Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:52Z" name: Next Version startedTimestamp: "2026-05-23T08:35:50Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:56Z" name: Jx Variables startedTimestamp: "2026-05-23T08:35:53Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:56Z" name: Setup Npm Nexus startedTimestamp: "2026-05-23T08:35:56Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:58Z" name: Setup Pip Cache startedTimestamp: "2026-05-23T08:35:56Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:59Z" name: Process Config Templates startedTimestamp: "2026-05-23T08:35:58Z" status: Succeeded - completedTimestamp: "2026-05-23T08:35:59Z" name: Update Fleet Management Version startedTimestamp: "2026-05-23T08:35:59Z" status: Succeeded - completedTimestamp: "2026-05-23T08:36:01Z" name: Check Registry startedTimestamp: "2026-05-23T08:35:59Z" status: Succeeded - completedTimestamp: "2026-05-23T08:38:49Z" name: Build Container Build startedTimestamp: "2026-05-23T08:36:02Z" status: Succeeded - completedTimestamp: "2026-05-23T08:39:06Z" name: Promote Changelog startedTimestamp: "2026-05-23T08:38:50Z" status: Succeeded - completedTimestamp: "2026-05-23T08:39:10Z" name: Promote Helm Release startedTimestamp: "2026-05-23T08:39:07Z" status: Succeeded - completedTimestamp: "2026-05-23T08:40:00Z" name: Promote Jx Promote startedTimestamp: "2026-05-23T08:39:11Z" status: Succeeded version: 6.67.0 status: {}