거버넌스 · 접근
접근 권한 · 멤버 · 초대 · 데이터 접근 제어(DAC) 관련 명령
"누가 무엇에 접근할 수 있나"를 CLI에서 확인 · 조정할 때 이 페이지를 봐요. 앱 단위 접근은 access(본인 grant · 타인 초대), 회사 멤버십은 members · invitations, 데이터 접근 제어(DAC)는 authz(주체 · 프리셋 · 접근 정책 · grant)가 담당해요. 대부분의 쓰기 명령은 관리자용으로 숨겨져 있고, 여기서는 일반 멤버가 쓰는 조회 · 셀프서비스 표면을 다뤄요. 멤버 · 역할 운영의 전체 그림은 멤버 관리 가이드에서 다뤄요.
axhub access
앱 접근 권한을 관리해요 — grant · revoke · list · 초대.
이 명령은 하위 명령을 직접 파싱해요 — axhub access <하위명령> --help로 세부 옵션을 확인하세요.
| 하위 명령 | 하는 일 |
|---|---|
access grant | 앱 접근 권한을 부여해요 (본인 대상 전용 — 타인은 invite) |
access check | 접근 가능 여부를 확인해요 |
access revoke | 내 접근 권한을 회수해요 (타인 제거는 uninvite) |
access invite | 사용자를 앱에 초대해요 |
access uninvite | 초대 · 접근을 제거해요 |
접근 요청(access requests) 흐름은 폐기됐어요. 서버에서 관련 API가 제거돼 더 이상 동작하지 않아요. 본인 접근은 access grant(내부공개 · 외부공개 앱), 다른 사람은 access invite로 처리하세요.
axhub members
회사 멤버십을 확인해요.
axhub members me
활성 회사에서 내 멤버 정보를 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant slug or ID used to scope the command. | — |
멤버 목록 · 역할 변경 · 비활성화 같은 관리 명령은 관리자용으로 숨겨져 있어요. 멤버 하드 삭제는 비활성화와 별개의 API(DELETE /tenants/{tid}/members/{mid}, spec 173)로 존재해요 — 마지막 admin은 삭제할 수 없고(409), 삭제된 사람이 다시 합류하면 신규 멤버로 들어와요.
axhub invitations
회사 초대를 확인해요.
axhub invitations accept
내가 받은 초대를 수락해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<id> | string (인자) | Resource identifier. | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--yes -y | boolean | Assume yes for non-destructive confirmation prompts. | — |
axhub authz
데이터 접근 권한(subject · preset · 접근 정책 · grant)을 조회해요 (DAC).
axhub authz grants
데이터 접근 grant를 관리해요. grant는 4축 — subject × connector × preset에 더해 범위(scope_resource_paths) 로 대상 테이블 · 리소스를 좁힐 수 있어요 (spec 172).
범위를 지정한 grant는 자유 SQL(gateway query)이 거부돼요 — 403 scope_requires_target, 범위 밖은 403 scope_out_of_range. 자세한 규칙은 게이트웨이 페이지를 보세요.
axhub authz grants mine
내 활성 grant 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub authz policies
커넥터 접근 정책(행 필터 · 열 allow/deny/mask)을 조회해요. 정책은 커넥터(connector_id)와 리소스 경로(resource_path, schema/table)로 스코프를 좁힐 수 있고, grant에 바인딩되어 게이트웨이 호출에 적용돼요. 생성 · 수정 · 삭제는 관리자용으로 숨김 처리돼 있어요.
axhub authz policies list
회사의 접근 정책 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant id/slug/name override. Defaults to the active tenant membership | — |
axhub authz policies show
접근 정책 상세를 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<policy_id> | string (인자) | — | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub authz presets
권한 프리셋(grant용 액션 템플릿)을 관리해요.
axhub authz presets list
프리셋 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--kind | string | Filter presets by kind | — |
--tenant | string | Tenant id/slug/name override. Defaults to the active tenant membership | — |
axhub authz presets show
프리셋 상세를 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<preset_id> | string (인자) | — | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub authz subjects
권한 주체(그룹 · 조직 단위)를 관리해요.
axhub authz subjects list
주체 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--kind | string | Filter subjects by kind | — |
--tenant | string | Tenant id/slug/name override. Defaults to the active tenant membership | — |
axhub authz subjects show
주체 상세를 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<subject_id> | string (인자) | — | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |