1
0
forked from baron/baron-sso
Commit Graph

957 Commits

Author SHA1 Message Date
9ff49230fc feat(adminfront): map multi-tenant users onto Tenant Full Tree
Reimplements the Org Chart using the Tenant Full Tree API and maps users to all their respective tenants (including joinedTenants). Multi-tenant users are duplicated correctly across nodes they belong to.
2026-04-13 11:20:41 +09:00
b08516f557 Revert "feat(adminfront): rebuild Org Chart strictly based on Tenant Full Tree"
This reverts commit 3bd8724d45.
2026-04-13 11:07:26 +09:00
3bd8724d45 feat(adminfront): rebuild Org Chart strictly based on Tenant Full Tree
Replaces the legacy user-department-based org chart generation with one driven by the actual Tenant hierarchy from the database (via fetchTenants) while still mapping users dynamically to their respective nodes.
2026-04-13 11:01:44 +09:00
ea44785ef0 feat: expand manageableSlugs to include entire tenant tree for users
Allows users and tenant admins to view users across all tenants within their hierarchy (both parent and child organizations) instead of just their direct tenant.
2026-04-13 10:51:29 +09:00
d3a82d1653 feat: allow regular users to view their own tenant's org chart
Changes the /users endpoint to allow RoleUser access and securely restricts the returned data to only users within their affiliated tenants. Removes the unnecessary back button from the Org Chart view since it's now a top-level nav item.
2026-04-13 10:47:56 +09:00
984adcfa62 feat(adminfront): add org chart to sidebar navigation
Adds the Organization Chart tab to the main sidebar for all users. Removes the 'View Org Chart' button from the Tenant List page. Enhances active state logic for nested routes.
2026-04-13 10:38:04 +09:00
6f934da428 Merge pull request 'adminfront test error' (#546) from fix/rebac-env-sync-issue into dev
Reviewed-on: baron/baron-sso#546
2026-04-13 09:59:16 +09:00
fd8bd01f33 fix(ci): enforce playwright deps installation in CI
Remove conditional skipping of 'npx playwright install --with-deps' to ensure OS-level dependencies are installed even when browser binaries are cached.
2026-04-13 09:40:04 +09:00
4fdfbfe53e Merge pull request 'fix/rebac-env-sync-issue' (#543) from fix/rebac-env-sync-issue into dev
Reviewed-on: baron/baron-sso#543
2026-04-10 18:06:43 +09:00
12b8958a72 fix(adminfront): fix react hooks violation in UserDetailPage causing infinite loading
- Fix 'Rendered fewer hooks than expected' crash by moving useMemo hook definition above all early returns
- Resolves e2e test timeout failures in users_schema.spec.ts and users.spec.ts
2026-04-10 17:44:00 +09:00
6c6fab3ea3 fix(adminfront): fix tenant slug display and metadata save issue in user detail page
- Fix 'System Global' displaying by replacing user.tenantSlug with user.companyCode returned by backend
- Prevent primary tenant from being unlinked when saving 'Tenant Profile' tab by ensuring userAffiliatedTenants always includes the primary tenant, preventing react-hook-form from clearing the tenantSlug value.
2026-04-10 17:26:25 +09:00
85d3f4099d Merge pull request 'fix/rebac-env-sync-issue' (#542) from fix/rebac-env-sync-issue into dev
Reviewed-on: baron/baron-sso#542
2026-04-10 16:32:12 +09:00
f33f023b90 style(userfront): format dart files to fix ci pipeline 2026-04-10 16:00:37 +09:00
a96ef3d204 fix(i18n): fix duplicate TOML section for ui.admin.tenants
- Prevent template overwrite caused by duplicate section parsing logic
- Ensures '테넌트 목록' correctly renders instead of '테넌트 구성원 ({{count}})'
2026-04-10 15:58:56 +09:00
addb0fe042 fix(adminfront): fix e2e test assertions and biome linter errors
- Fix strict biome errors in OrgChartUploadModal and TenantOrgChartPage (key indices, any types, aria roles, hook dependencies)
- Fix duplicate translation blocks that broke the i18n parser
- Fix UI label assertions in Playwright e2e tests due to updated i18n keys
2026-04-10 15:12:09 +09:00
4293013d4f chore(i18n): sync adminfront locales with new keys
- Adminfront 화면에 표시될 한국어/영어 문구(테넌트 검색, 총 n개 로그 등) 추가
2026-04-10 14:49:19 +09:00
ec0c6eae26 fix(adminfront): resolve typescript build errors on CI
- Fix missing position and jobTitle properties in BulkUserItem interface
- Fix incorrect reference to undefined total property in AuditLogsPage (reverted to logs.length)
2026-04-10 14:43:56 +09:00
ea90327507 fix(tests): resolve failing go tests and segfaults due to missing mock interface implementations
- MockKratosAdminService 및 MockTenantService에 새로 추가된 인터페이스 메소드(CreateUser, ListIdentitySessions 등) 구현 추가
- 회원가입 테스트(auth_handler_signup_test.go) 시, isAffiliateTenant 검증 과정에서 TenantService가 nil일 때 발생하는 segfault 방지 로직 보강
- Mock 객체 반환값 타입 불일치 및 testify/mock 매개변수 에러 등 테스트 의존성 전반 수정
2026-04-10 14:40:16 +09:00
c312d4cc6d chore(i18n): sync locales with new UI keys
- 누락되었던 테넌트 조직, 사용자 상태, API Key 갯수 등 8개의 번역 키 추가
2026-04-10 14:06:02 +09:00
5a84e9f6cc Merge branch 'dev' into fix/rebac-env-sync-issue 2026-04-10 13:52:07 +09:00
349cdf5fcd feat(org): 조직도 렌더링 및 동기화 로직 대폭 개선, 역할(Role) 강제화, 탭 정리
- 조직도 렌더링 시 너비 동적 계산 및 스크롤 문제 해결
- 하위 조직(Leaf)을 부모 박스 내부에 임베딩하여 2열로 깔끔하게 표시되도록 조직도 UI 전면 개편
- 사용자 생성/수정 및 CSV 업로드 시 직급(Position)과 직무(JobTitle)가 정상적으로 Kratos 및 로컬 DB에 동기화되도록 백엔드 API 수정
- CSV 조직도 업로드 시 계층 구분을 '/' 대신 ' > '로 변경하여 이름에 '/'가 포함된 부서(예: 평면/셀)가 분리되지 않도록 보호
- 잘못 입력된 과거 직책 데이터(팀장, 그룹장 등)를 'user' 권한으로 일괄 초기화하고, 이후 'role' 필드에 시스템 권한(user, tenant_admin, super_admin) 외의 값이 들어오지 않도록 백엔드 정규화 로직 강화
- 사용자 목록 페이지의 페이지네이션 제한을 50명에서 1000명으로 상향 조정
- 테넌트 목록 페이지에 이름/슬러그 기반 검색 기능 추가
- 관리자 UI 전반에서 불필요한 배지(Admin only, System 등) 제거 및 테넌트 상세 페이지의 미사용 '외부 연동' 탭 삭제
2026-04-10 13:48:12 +09:00
5211842d47 조직도 기능 추가 2026-04-10 11:38:47 +09:00
93d44c055b Merge pull request 'feature/headless-url' (#541) from feature/headless-url into dev
Reviewed-on: baron/baron-sso#541
2026-04-10 11:10:28 +09:00
kyy
2ef851086d headless URL 호스트 해석 보정 2026-04-10 10:57:38 +09:00
kyy
969d32eaca runtime host 0.0.0.0 수정 2026-04-10 10:57:38 +09:00
74063494a1 Merge pull request 'feature/uf-appcard' (#539) from feature/uf-appcard into dev
Reviewed-on: baron/baron-sso#539
2026-04-09 17:12:56 +09:00
kyy
46262c80c1 병합 code check 오류 수정 2026-04-09 17:08:54 +09:00
kyy
c6ddf7c485 code check 오류 수정 2026-04-09 16:45:26 +09:00
kyy
06a6875cdb App 카드 로고 이미지 표시 2026-04-09 14:37:49 +09:00
kyy
df09694ed6 앱 로고 URL 검증 및 미리보기 상태 표시 2026-04-09 14:37:49 +09:00
kyy
1e53b66abb 로그인 화면 플랫 UI 수정 2026-04-09 14:37:49 +09:00
kyy
332b657add 다크 모드 전역 상태와 테마 기반 추가 2026-04-09 14:37:49 +09:00
kyy
873d56e35f 테마 영속화 테스트 추가 2026-04-09 14:37:49 +09:00
kyy
dce418d0b9 대시보드 다크 모드/테마 토글 적용 2026-04-09 14:37:49 +09:00
kyy
3d7d4767bf 테마 토글 라벨 번역과 영문 문구 정리 2026-04-09 14:37:49 +09:00
kyy
f4b1c449b1 App 카드 크기 조정 및 상세 보기 수정 2026-04-09 14:37:49 +09:00
kyy
24f477a28e adminfront 로그인 페이지에 auto redirect SSO 진입 추가 2026-04-09 14:37:49 +09:00
kyy
c7b213bf17 devfront 로그인 페이지 auto redirect SSO 진입 추가 2026-04-09 14:37:49 +09:00
kyy
c3605cc86b App 현황 카드 클릭 시 init_url 우선 진입 지원 2026-04-09 14:37:49 +09:00
kyy
f5c4ffa92f linked RP 응답에 1st-party 앱 자동 로그인 init_url 추가 2026-04-09 14:37:49 +09:00
6971b69b79 feat(admin): add org chart bulk import button to main tenants list page (#500) 2026-04-07 16:42:23 +09:00
337337a554 Merge pull request 'feature/uf-session' (#532) from feature/uf-session into dev
Reviewed-on: baron/baron-sso#532
2026-04-07 16:14:12 +09:00
kyy
3b56346c23 로컬 code-check 오류 수정 2026-04-07 16:07:40 +09:00
kyy
9e473ae8a8 userfront 접속이력 타임라인 oathkeeper 세션 ID 보강 2026-04-07 16:07:40 +09:00
kyy
6e312cc5fd 접속이력 토글/스위치 조정 2026-04-07 16:07:40 +09:00
kyy
2fb7bae5f6 접속이력 테이블 배치 작업 2026-04-07 16:07:40 +09:00
kyy
c95105f018 접속이력 브라우저 컬럼 추가 2026-04-07 16:07:40 +09:00
kyy
7b2004e05c 접속이력 및 활성 세션 UI 통합 및 i18n 반영 2026-04-07 16:07:40 +09:00
kyy
e6ade9ce77 작업 정리 문서 저장 경로 변경 2026-04-07 16:07:40 +09:00
kyy
6843b96fe0 userfront 접속이력 UI 세션 상태 필터 반영 2026-04-07 16:07:40 +09:00