-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area: authAuthentication and authorizationAuthentication and authorizationarea: box-managementBox/Xbiis management featuresBox/Xbiis management features
Description
User Story
As an admin
I want my own box requests to be automatically approved
So that I don't need to go through the approval workflow
Acceptance Criteria
Given an admin submits a box request
When the request is saved
Then the system automatically approves the request
And provisions the new box for the admin
And the boxType is REQUESTEDTechnical Tasks
- Check if requester has admin=true on User object
- Auto-approve if admin (skip Pending status)
- Create box immediately with boxType=REQUESTED
- Skip admin notification email for auto-approved requests
- Send confirmation email to admin requester
- Add tests for admin auto-approval
Implementation Notes
- Check admin flag on User object in submitBoxRequest mutation
- Still create BoxRequest record for audit trail
- Status goes directly to Approved
Related
- Epic Box display #2: Request & Approval Workflow
- Story Migrate Existing Boxes #8: Submit Box Request
Metadata
Metadata
Assignees
Labels
area: authAuthentication and authorizationAuthentication and authorizationarea: box-managementBox/Xbiis management featuresBox/Xbiis management features