Repository navigation
Conversation
単票API(POST api/maintenance-orders/{id}/record)と実績CSV maintenance-records が
全ロールに開いており、物流・品質の担当者でも在庫の引落し・保全指示の完了・
設備の稼働可能への復帰・治工具の寿命リセットができた。
Spec.md 7.4 の「異常・使用実績の記録は絞らない」は保全依頼(起票)までで、実績は含まない。
- API・CSVとも MesRoleGroups.MaintenanceManage で絞る
- 画面の実績登録フォームも同じ定数で隠す(取消ボタンと同じ範囲にまとめた)
- 作業者が単票・CSVのどちらでも登録できず、指示が完了しないことをテストで確認
- Spec.md 改訂144
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
保全実績の登録が全ロールに開いていたのを、保全担当者(
MaintenanceManage)に限る。Spec.md 改訂144。(#29 を分割したもの。#30 の上に積んでいる。#30 のマージ後に main 向けへ付け替える)
問題
単票API
POST api/maintenance-orders/{id}/recordと実績CSVmaintenance-recordsにロールの制限が無く、物流・品質の担当者でも次のことができた。Spec.md 7.4 の「異常・使用実績の記録は絞らない」は保全依頼(起票)までで、実績は含まない。
変更
MesRoleGroups.MaintenanceManageで絞った確認
🤖 Generated with Claude Code