AgentSkillsCN

rbac

设置 RBAC(基于角色的访问控制)管理。可创建集中式的 RBAC 管理管道,以实现用户组成员资格的自动化管理。适用于希望管理角色、权限、访问控制、RBAC,或自动化用户组分配时使用。

SKILL.md
--- frontmatter
name: rbac
description: "Set up RBAC (Role-Based Access Control) management. Creates a centralized RBAC management pipeline for automating user group membership. Use when someone wants to manage roles, permissions, access control, RBAC, or automate user group assignments."
allowed-tools:
  - Bash
  - Read
  - Write
  - Glob
  - Grep

RBAC Management

Set up the RBAC management pipeline using the rbac-manager module.

Module directory: rbac-manager/

$ARGUMENTS

What This Creates

  • An RBAC Management pipeline in the specified project
  • Centralized method for managing group membership via automation
  • Supports account, organization, and project-level RBAC workflows

Required Inputs

InputRequiredDescription
Organization IDYesAuto-detected from harness-organization state
Project IDYesAuto-detected from harness-project state
Harness Account IDYesAuto-detected from env var

Steps

  1. Auto-detect org and project IDs from upstream state.

    • If not found, ask the user to provide them or deploy org/project first.
  2. Only 3 inputs needed — this is a straightforward deployment.

  3. Generate tfvars, init, plan, confirm, apply.

  4. Show the pipeline URL where the user can trigger RBAC management workflows.

Prerequisites

  • harness-organization must be deployed
  • harness-project must be deployed