Logo: Confluence Permission

Confluence Permission

Communautéit
ulises-jeremias
confluence-permission

Manage space and page permissions and restrictions. ALWAYS use when user wants to control access, set restrictions, or manage who can view/edit content.

Iwwersiicht

Editeurulises-jeremias
Repositoryagent-toolkit
Skill-Nummconfluence-permission
Stären
20
Forks
5
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ulises-jeremias huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Confluence Permission an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-permission
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/skills/confluence-permission .claude/skills/confluence-permission
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Confluence Permission an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Confluence Permission automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Confluence Permission net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Confluence Permission Skill

Manage space and page permissions and restrictions.


⚠️ PRIMARY USE CASE

This skill controls who can access Confluence content. Use this skill for:

  • Setting space-level permissions (who can view/edit a space)
  • Adding page restrictions (limit access to specific users/groups)
  • Auditing current permissions and restrictions

⚠️⚠️ WARNING: Permission changes can lock users out of content. Always document current permissions before making changes.


When to Use This Skill

TriggerExample
View permissions"Who can access DOCS space?", "Show page restrictions"
Add permissions"Give engineering-team read access to DOCS"
Remove permissions"Remove John's access to page 12345"
Restrict pages"Lock this page to admins only"
Audit access"List all permissions for TEAMSPACE"

When NOT to Use This Skill

OperationUse Instead
Create/edit pagesconfluence-page
Search for contentconfluence-search
Manage space settingsconfluence-space
View who's watchingconfluence-watch

Risk Levels

OperationRiskNotes
Get permissions-Read-only
Add permission⚠️Grants access, can be removed
Remove permission⚠️⚠️Can lock users out
Add page restriction⚠️⚠️Can hide content from users
Remove all restrictions⚠️Opens page to all space members

Overview

This skill provides comprehensive permission management for Confluence:

  • Space Permissions: Control who can access and administer entire spaces
  • Page Restrictions: Limit read/edit access to specific pages

Note: Due to API limitations, this skill uses a hybrid approach:

  • v2 API for reading space permissions
  • v1 API for modifying space permissions and managing page restrictions

CLI Commands

confluence-as permission space get

Retrieve the list of permissions assigned to a space.

Usage:

bash
confluence-as permission space get SPACE_KEY
confluence-as permission space get DOCS --output json

Output: Lists all users and groups with their assigned operations (read, write, administer, etc.)

Note: Use --output json to see permission IDs, which are required for removing specific permissions with confluence-as permission space remove --permission-id.

confluence-as permission space add

Grant a permission to a user or group for a space.

Usage:

bash
confluence-as permission space add SPACE_KEY --user ACCOUNT_ID --operation read
confluence-as permission space add DOCS --group confluence-users --operation create
confluence-as permission space add TEST --user 557058:12345678-abcd-1234-efgh-123456789abc --operation administer
confluence-as permission space add DOCS --group editors --operation create --target page

Options:

  • --user - User account ID (plain ID, no prefix)
  • --group - Group name
  • --operation - Permission operation (required)
  • --target - Target type (default: space)

Valid Operations:

  • read - View content
  • create - Create content
  • delete - Delete content
  • administer - Manage space
  • archive - Archive content
  • restrict_content - Set content restrictions
  • export - Export content

Valid Targets:

  • space - Space-level permission (default)
  • page - Page-level permission
  • blogpost - Blog post permission
  • comment - Comment permission
  • attachment - Attachment permission

confluence-as permission space remove

Revoke a permission from a user or group for a space.

Usage:

bash
# Method 1: Remove by permission ID (preferred)
confluence-as permission space remove SPACE_KEY --permission-id 12345
confluence-as permission space remove DOCS -p 67890

# Method 2: Remove by user/group + operation (finds and removes matching permissions)
confluence-as permission space remove SPACE_KEY --user ACCOUNT_ID --operation read
confluence-as permission space remove DOCS --group confluence-users --operation create

Options:

  • --permission-id, -p - Permission ID to remove (primary method)
  • --user - User account ID (requires --operation)
  • --group - Group name (requires --operation)
  • --operation - Operation to match (REQUIRED when using --user or --group)

Note: Use confluence-as permission space get to find permission IDs.

confluence-as permission page get

List restrictions on a page (who can read/edit).

Usage:

bash
confluence-as permission page get PAGE_ID
confluence-as permission page get 123456 --output json

Output: Shows read and update restrictions with users and groups

confluence-as permission page add

Add a restriction to limit page access.

Usage:

bash
confluence-as permission page add PAGE_ID --operation read --user ACCOUNT_ID
confluence-as permission page add 123456 --operation update --group confluence-users
confluence-as permission page add 123456 --operation read --user 557058:12345678-abcd-1234-efgh-123456789abc

Options:

  • --user - User account ID (plain ID, no prefix)
  • --group - Group name
  • --operation - Restriction type (required): read or update

Restriction Types:

  • read - Who can view the page
  • update - Who can edit the page

confluence-as permission page remove

Remove a restriction from a page.

Usage:

bash
confluence-as permission page remove PAGE_ID --operation read --user ACCOUNT_ID
confluence-as permission page remove 123456 --operation update --group confluence-users
confluence-as permission page remove 123456 --operation read --all

Options:

  • --user - User account ID to remove from restriction
  • --group - Group name to remove from restriction
  • --operation - Restriction type (required): read or update
  • --all - Remove all restrictions of this type

Use --all to remove all restrictions of a type (makes page accessible to all space members).

Examples

Restrict a confidential page

bash
# Get current restrictions
confluence-as permission page get 123456

# Add read restriction to specific users (use account IDs)
confluence-as permission page add 123456 --operation read --user 557058:john-account-id
confluence-as permission page add 123456 --operation read --user 557058:jane-account-id

# Add edit restriction to admins group
confluence-as permission page add 123456 --operation update --group confluence-administrators

Grant space access to a team

bash
# Add read permission for the team
confluence-as permission space add TEAMSPACE --group engineering-team --operation read

# Add create permission for contributors (to create pages)
confluence-as permission space add TEAMSPACE --group engineering-leads --operation create --target page

# Verify permissions
confluence-as permission space get TEAMSPACE

Remove all restrictions from a page

bash
# Remove all read restrictions (make viewable to all space members)
confluence-as permission page remove 123456 --operation read --all

# Remove all update restrictions (make editable to all space members)
confluence-as permission page remove 123456 --operation update --all

Important Notes

API Limitations

  • Space permission management via API may be restricted by Confluence administrators
  • Inherited page restrictions are not shown in API responses (CONFCLOUD-71108)
  • Admin keys cannot bypass restrictions when using the API

Permission Hierarchy

  • Space permissions apply to all content in the space
  • Page restrictions override space permissions (more restrictive)
  • Removing all page restrictions makes it follow space permissions

Best Practices

  • Always verify changes with get commands
  • Use groups instead of individual users when possible
  • Document permission changes in page history or space description
  • Test with a non-admin account to verify restrictions work

Common Pitfalls

1. Locking Yourself Out

  • Problem: Removing your own access to a page/space
  • Solution: Always ensure at least one admin retains access before changes

2. Inherited Restrictions Not Visible

  • Problem: Page appears accessible but users can't view it
  • Solution: Check parent page restrictions (API doesn't show inherited)

3. User vs Account ID

  • Problem: --user not finding the person
  • Solution: Use the plain account ID (e.g., 557058:12345678-abcd-1234-efgh-123456789abc), no prefix needed

4. Group Name Mismatch

  • Problem: Group not found when adding permissions
  • Solution: Group names are case-sensitive, verify exact name in Confluence admin

5. Space Admin Override

  • Problem: Page restrictions being bypassed
  • Solution: Space admins can always access content - this is by design

6. API Restrictions

  • Problem: Permission changes fail silently
  • Solution: Some permission operations require Confluence admin privileges

Error Handling

ErrorCauseResolution
403 ForbiddenInsufficient privileges to modify permissionsRequest space admin access
404 Not FoundUser, group, or resource doesn't existVerify user email, group name, page ID
400 Bad RequestInvalid operation or subject typeCheck operation name, use correct subject type
409 ConflictPermission already exists or conflictsCheck current permissions first

Recovery from Permission Errors

Locked out of page:

bash
# Space admin can remove restrictions via UI or API
confluence-as permission page remove PAGE_ID --operation read --all
confluence-as permission page remove PAGE_ID --operation update --all

Accidentally removed space access:

bash
# Confluence admin can restore via Confluence Admin > Space Permissions
# Or re-add the permission:
confluence-as permission space add SPACE_KEY --group GROUP_NAME --operation read

Audit trail:

  • Space permission changes are logged in Confluence audit log
  • Page restriction changes appear in page history

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Confluence Permission?

Manage space and page permissions and restrictions. ALWAYS use when user wants to control access, set restrictions, or manage who can view/edit content.

Firwat Confluence Permission op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Confluence Permission besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Confluence Permission an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-permission an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Confluence Permission benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Confluence Permission benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Confluence Permission domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Confluence Permission gratis?

Jo. ulises-jeremias huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇