Install
$ agentstack add skill-taosdata-agent-skills-idmp-user-access ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
user / role / permission
Read [../idmp-shared/SKILL.md](../idmp-shared/SKILL.md) first.
What this skill covers
- Read current-user context, paginated admin user views, roles, permission groups, and safe authorization previews.
- Keep current-user inspection separate from directory-wide admin surfaces.
Recommended reference
- [
references/user-access-read-flows.md](references/user-access-read-flows.md)
Missing context to resolve first
- Admin visibility.
- Permission group seed.
- Whether the request is about the current user, a directory user, a role, or a permission scope.
- Whether the operator only needs a dry-run preview or a real mutation.
- Which scope, group, or role ID is already known.
Constrained live behaviors
user users listreturns the current-user object.permission users assignableandpermission roles list-getcan return structured 403.role roles createrequires a non-emptypermissionGroupIdslist.user users listis the current-user surface;user page listis the paginated directory view.- Role and permission reads can succeed even when grant previews are permission-bound.
- Keep
--dry-run --ack-riskon grant previews until the operator explicitly wants a real mutation.
Execution flow
- Start with
idmp-cli user users listto separate current-user context from directory-wide admin views. - Use
idmp-cli user page list --paramsonly when the task really needs admin directory scope. - Pair role detail with
idmp-cli permission groups listbefore any grant preview or temporary role create. - Keep authorization work on
permission policy grant-post --dry-run --ack-risk --paramsuntil the operator explicitly wants a real mutation. - If a temporary role must be created, reread it and pair the create with a delete cleanup step in the same workflow.
Evidence of completion
- A current-user answer is only complete when it comes from
user users list, not from a guessed admin directory row. - A permission boundary is still valid evidence when the backend returns a structured 403 for assignable or granted-role reads.
- A temporary-role workflow is only complete when both the reread and the delete cleanup succeed.
Key commands
idmp-cli user users listfor the current-user shape.idmp-cli user page list --paramsfor the admin directory view.idmp-cli user users get --paramsto inspect a specific user.idmp-cli role roles get --paramsto inspect one role deeply.idmp-cli permission groups listto enumerate reusable permission bundles.idmp-cli permission policy grant-post --dry-run --ack-risk --paramsto preview authorization safely.idmp-cli role roles create --ack-risk --datawhen a temporary custom role is really needed.idmp-cli role roles delete --ack-risk --paramsto remove that temporary role after verification.
Exception paths
- If paginated admin reads are forbidden, do not infer that the current-user surface is also broken.
- Stop at dry-run when the operator has not explicitly requested a real grant.
- Clean up any temporary custom role you create.
Validation scenarios
1. Current-user shape
Use idmp-cli user users list first. This should answer “who am I” questions without requiring admin directory access.
2. Admin directory view
Use idmp-cli user page list --params for scoped directory inspection. Treat permission failures here as directory-boundary evidence, not a total auth failure.
3. Role and permission-group context
Pair idmp-cli role roles get --params with idmp-cli permission groups list. The answer should explain both role detail and reusable permission groups.
4. Safe grant preview
Use idmp-cli permission policy grant-post --dry-run --ack-risk --params before any real grant. A dry-run failure is still useful boundary evidence.
5. Temporary custom-role lifecycle
If you must mutate, pair idmp-cli role roles create --ack-risk --data with idmp-cli role roles delete --ack-risk --params. Build a temporary custom role with one real permission group, reread it, then delete it.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: taosdata
- Source: taosdata/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.