hologres-privileges

Manage Hologres privileges using PostgreSQL GRANT/REVOKE syntax.

17|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/aliyun/hologres-ai-plugins --skill hologres-privileges
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hologres-privileges
Source: https://github.com/aliyun/hologres-ai-plugins/tree/main/agent-skills/skills/hologres-privileges
Command: npx skills add https://github.com/aliyun/hologres-ai-plugins --skill hologres-privileges

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Hologres privilege management is complex; this skill provides PostgreSQL-style GRANT/REVOKE for Hologres objects, enabling controlled access and easier audits.

Core Features & Use Cases

  • Expert permission model: Use standard PostgreSQL GRANT/REVOKE syntax on schemas, tables, columns, and views.
  • User & role management: Create users, assign to roles, set default privileges for future objects, and diagnose permission issues.
  • Audit & diagnostics: Provide queries to audit grants and privileges across the database.
  • Use Case: Secure multi-team analytics by mapping project roles to schema and table privileges.

Quick Start

Install hologres-cli, configure HOLOGRES_SKILL to hologres-privileges, and begin provisioning roles and privileges as shown in the guide.

Frequently Asked Questions about hologres-privileges

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

FAQPage Schema
How do I manage Hologres access control using PostgreSQL GRANT and REVOKE syntax?

Hologres access control uses PostgreSQL GRANT and REVOKE syntax to apply granular permissions. You can provision users, manage roles, and control schema, table, column, and view privileges directly.

Can I set default privileges for future objects in Hologres schemas?

Yes, you can set default privileges for future objects in Hologres schemas. This ensures that new tables and views automatically inherit defined access permissions for specific users or roles upon creation.

How do I diagnose permission issues and audit grants across a Hologres database?

To diagnose Hologres permission issues and audit grants, you can run built-in diagnostic queries. These checks help identify incorrect access settings and verify current user privileges across database schemas.

What Hologres privileges are supported for securing multi-team analytics?

Hologres supports USAGE, CREATE, and ALL privileges to secure multi-team analytics. You can map project roles to specific schema and table privileges to isolate team data access.

Does Hologres support column-level GRANT and REVOKE permissions?

Yes, Hologres supports column-level GRANT and REVOKE permissions. This allows precise access control by restricting user queries to specific columns within a table while masking the rest.

Why are my Hologres default privileges not working for newly created tables?

Hologres default privileges apply only to future objects created by a specific user. Verify the GRANT default privileges target matches the object creator, and run diagnostic checks to audit current settings.