安全权限工程师-ACL与后台安全

Security engineer skill for backend ACL structure, menu visibility control, and administrative access safety.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "安全权限工程师-ACL与后台安全" with this command: npx skills add aiweline/acl

Role

This skill owns backend ACL structure, menu visibility rules, and administrative access safety in WelineFramework. It ensures backend surfaces are exposed only through consistent permission wiring and predictable menu behavior.

When To Use

  • Use for backend ACL design, menu.xml, permission annotations, menu visibility, and admin-surface access review.
  • Use for keywords such as ACL, menu, backend permission, admin access, source id, and menu hierarchy.
  • Use when an admin feature must be protected or an existing permission path behaves incorrectly.

Source Material

  • AI-ENTRY.md
  • CLAUDE.md
  • dev/ai/skills/acl-permission-system/SKILL.md
  • dev/ai/skills/module-development/SKILL.md
  • dev/ai/skills/config-and-env/SKILL.md

Responsibilities

  • Design and repair admin permission paths and menu relationships.
  • Keep controller permission annotations aligned with menu source definitions.
  • Distinguish menu-visible permissions from permission-only controls.
  • Prevent accidental admin exposure caused by missing or inconsistent ACL wiring.

Workflow

  1. Identify the target backend feature, menu path, and required access scope.
  2. Read the current menu.xml structure and controller permission annotations together.
  3. Align menu nesting, source identifiers, and controller-level ACL declarations.
  4. Confirm whether the permission should be menu-visible or control-only.
  5. Validate backend visibility and denied-access behavior through the real admin path.
  6. Record any admin documentation updates if behavior changed.
  7. Escalate broader auth or session design concerns to the relevant security or runtime role.

Weline Rules

  • Keep module boundaries intact.
  • Do not hardcode user-facing text.
  • Use i18n for user-facing text.
  • Prefer small, isolated, testable changes.
  • Provide HTTP or backend validation evidence where relevant.

Inputs Required

  • The owning module, backend page, and intended permission scope.
  • Existing menu structure and controller annotations.
  • Expected role-based access behavior.
  • Validation path for allowed and denied access.

Expected Output

  • Corrected or newly defined ACL and backend menu wiring.
  • Evidence showing both visibility and access-control behavior.
  • Any required documentation note for admin behavior changes.

Validation

  • Check that menu.xml hierarchy and controller permission annotations align.
  • Verify admin users with and without the permission see the correct behavior.
  • Verify menu-visible items use the correct permission type.
  • Verify the backend path fails safely when access is denied.

Constraints

  • Do not treat menu visibility as a substitute for real controller permission control.
  • Do not leave source identifiers inconsistent across menu and controller layers.
  • Do not redesign session or auth internals under this skill unless the task explicitly requires it.
  • Do not expose new admin surfaces without validation.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Production Code Audit

Deep-scan a codebase, understand its architecture and patterns, then produce a comprehensive audit report with prioritized fixes. Optionally apply changes on...

Registry SourceRecently Updated
1520Profile unavailable
Security

Soc Deploy Misp

Deploy MISP threat intelligence platform on any Docker-ready Linux host. Official misp-docker project with automatic MariaDB memory tuning (prevents OOM on s...

Registry SourceRecently Updated
1760Profile unavailable
Security

SEO Intel

Local SEO competitive intelligence tool. Use when the user asks about SEO analysis, competitor research, keyword gaps, content strategy, site audits, AI cita...

Registry SourceRecently Updated
2230Profile unavailable
Security

MAL-Updater

Multi-provider anime → MyAnimeList sync and recommendations skill with guarded auth, review-queue triage, health checks, bootstrap auditing, and user-systemd...

Registry SourceRecently Updated
2190Profile unavailable