clickzetta-access-control

Manage RBAC and dynamic data masking for ClickZetta Lakehouse.

8|3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/yunqiqiliang/clickzetta-skills --skill clickzetta-access-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clickzetta-access-control
Source: https://github.com/yunqiqiliang/clickzetta-skills/tree/main/clickzetta-access-control
Command: npx skills add https://github.com/yunqiqiliang/clickzetta-skills --skill clickzetta-access-control

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

此技能帮助在 ClickZetta Lakehouse 中实现对用户、角色与权限的集中治理(RBAC),覆盖创建/修改/删除用户、定义自定义角色、应用 GRANT/REVOKE、展示权限,以及绑定和执行列级动态脱敏策略,确保数据访问的最小权限和合规性。

Core Features & Use Cases

  • 基于角色的访问控制(RBAC)与实例/工作空间级权限管理,支持预置与自定义角色。
  • 完整的权限治理工作流:创建角色、授予/撤销权限、SHOW GRANTS,以及动态脱敏策略的绑定与执行。
  • 典型场景:为新员工分配 workspace_analyst 角色,并对敏感表的列应用只读与脱敏策略,确保合规访问。

Quick Start

为新员工分配 workspace_analyst 角色并绑定对客户表的只读权限,同时应用脱敏策略。

Frequently Asked Questions about clickzetta-access-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up RBAC and dynamic data masking in ClickZetta Lakehouse?

RBAC and dynamic data masking in ClickZetta Lakehouse are set up by creating roles, applying SQL-based GRANT/REVOKE, and binding masking policies using current_user/current_roles functions to enforce least-privilege access.

What is column-level security and how does dynamic data masking work for workspace management?

Column-level security for workspace management works by binding dynamic masking policies to sensitive table columns, executing masking functions during queries to ensure compliant read access based on current user roles.

How do I manage user onboarding and assign roles using GRANT and REVOKE in ClickZetta?

User onboarding and role management in ClickZetta use SQL-based CREATE ROLE, GRANT, and REVOKE statements to assign predefined or custom roles like workspace_analyst, controlling instance and workspace permissions.

Can I apply dynamic data masking to specific table columns for new workspace users?

Yes, dynamic data masking can be applied to specific table columns for new workspace users by binding masking policies to sensitive columns, ensuring roles like workspace_analyst receive masked data during query execution.

Does ClickZetta access control support predefined and custom roles for security governance?

ClickZetta access control supports security governance with both predefined and custom roles, allowing administrators to define specific permissions and apply GRANT/REVOKE across instances and workspaces for centralized management.

What are the limitations of using SHOW GRANTS for role management in ClickZetta?

SHOW GRANTS in ClickZetta displays current permissions for users and roles, but does not modify access control; you must use separate SQL-based GRANT and REVOKE statements to actively change role privileges.