843 B
843 B
1. Spec
- 1.1 Review
docs/权限按钮.mdand confirm the login response is the source of button permission codes - 1.2 Add OpenSpec proposal, tasks, and
agent-asset-listdelta spec for action-button permissions - 1.3 Validate the new change with strict OpenSpec validation
2. Implementation
- 2.1 Extend login response typing and session persistence for the backend-provided
buttonsarray - 2.2 Define explicit H5 permission-code mapping for agent asset-list IoT card and device action buttons:
asset:card_stop_h5asset:card_start_h5asset:device_stop_h5asset:device_start_h5
- 2.3 Gate asset-list action-button rendering by the current session button permissions
- 2.4 Verify card and device action visibility for sessions with and without matching button permission codes