← 返回
未分类

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

Security engineer skill for backend ACL structure, menu visibility control, and administrative access safety.
安全工程师技能:后端ACL结构、菜单可见性控制、管理访问安全
aiweline
未分类 clawhub v1.1.0 2 版本 100000 Key: 无需
★ 0
Stars
📥 332
下载
💾 0
安装
2
版本
#latest

概述

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.

Shared Collaboration Contract

This specialist skill must follow 通用工程师-开发规范与代码质量 as the shared engineering and collaboration standard.

Before and during work:

  • Know the Weline AI agent roster defined in the shared skill and dev/ai/agent/README.md.
  • Keep work inside this specialist's ownership boundary.
  • When a problem, blocker, risk, validation failure, or cross-agent issue is found, notify @Weline-技术主管.
  • Do not silently expand scope to fix another agent's area.
  • Include collaboration status in the final report.

版本历史

共 2 个版本

  • v1.1.0 当前
    2026-05-09 04:04 安全 安全
  • v1.0.0
    2026-05-08 02:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

单元测试工程师 测试数据与回归

aiweline
单元测试工程师技能,专注于 WelineFramework 中稳定的 fixture、边界数据设计以及面向回归的测试输入。
★ 0 📥 420

QA测试主管 测试策略治理

aiweline
QA lead skill for test strategy, coverage planning, risk-based validation design, and cross-role quality governance.
★ 0 📥 785

单元测试工程师 单元测试覆盖

aiweline
单元测试工程师技能:熟练使用 PHPUnit 或 Pest 进行覆盖率测试、服务层断言及针对性的回归防护。
★ 1 📥 421