1
0
forked from baron/baron-sso

테넌트 관리자(Tenant Admin)의 본인 소유 테넌트 목록 조회 및 관리 기능 개선

This commit is contained in:
2026-03-03 14:33:58 +09:00
parent 1c3985ce19
commit a6e7f1253c
6 changed files with 47 additions and 16 deletions

View File

@@ -19,6 +19,7 @@ type TenantService interface {
GetTenantBySlug(ctx context.Context, slug string) (*domain.Tenant, error)
GetTenant(ctx context.Context, id string) (*domain.Tenant, error)
ListTenants(ctx context.Context, limit, offset int, parentID string) ([]domain.Tenant, int64, error)
ListManageableTenants(ctx context.Context, userID string) ([]domain.Tenant, error)
ApproveTenant(ctx context.Context, id string) error
SetKetoService(keto KetoService) // 추가
}