Allow editing room requests in certain states
- Ngôn ngữ chính
- TypeScript
- Star
- 5
- Fork
- 0
- Merge trung bình
- 3 giờ 58 phút
- Pull request đã merge (30 ngày)
- 10
Mô tả
Currently, users cannot edit a room request after it has been submitted. We should allow both the user which created the request, or `ROOM_REQUEST_ADMIN` app role, to modify the room request only when it is the following states:
- CREATED
- MORE_INFORMATION_NEEDED
- REJECTED_BY_ACM
- REJECTED_BY_UIUC
This change requires modification to both the UI and API to allow these changes and enforce the constraints.
These are "recoverable" states (and should be added to types file so it can be used in the UI and API). We can modify the `verifyRoomRequestAccess` function to add `isEditing` parameter to check these conditions.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.