安全許可權工程師 ACL與後臺安全

👤 aiweline 📦 v1.0.0 ⭐ 4.0 ⬇️ 646 下載
🔒 IT運維與安全 免費

📖 技能介紹


name: 安全許可權工程師-ACL與後臺安全 description: Security engineer skill for backend ACL structure, menu visibility control, and administrative access safety.


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.

    發現更多技能外掛,請訪問7w4.net。

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.

🤖 AI 評測

這是一個專注於後臺許可權和選單控制的專業Skill,定義清晰、職責明確。優點是工作流程完整、約束條件明確,有助於規範後臺安全開發。不足之處是缺少實際參考示例和程式碼指導,僅依賴檔案路徑不夠實用,可操作性有待加強。

📊 多維度評分

適應性4.4
規範性3.8
有效性4
可靠性3.6
可信度4.3

📁 包含檔案 (2 個)

📄 SKILL.md 3.1 KB
📄 _meta.json 122 B