Skip to content

chore: update quota client to use org header - #113

Merged
ngovinh2k2 merged 1 commit into
devfrom
chore/update-quota-client-to-use-org-header
Jul 22, 2026
Merged

ngovinh2k2 merged 1 commit into
devfrom
chore/update-quota-client-to-use-org-header

Conversation

@ngovinh2k2

Copy link
Copy Markdown
Member

What?

  • Updated quota client requests to pass organization context through the X-Organization header.

  • Created DeactivationMixin to centralize checks for deactivated objects and
    related objects, such as devices and spaces.

  • Applied deactivation checks to device-related views so deactivated resources
    return PermissionDenied instead of being used normally.

  • Kept quota release logic safe by releasing each reserved feature individually.

Why?

How?

Testing?

  • Functional Testing
  • Security
  • Performance
  • Error Handling
  • Code Quality
  • Documentation
  • Database
  • Deployment
  • Final Review

Anything Else?

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@ngovinh2k2
ngovinh2k2 merged commit 06a4303 into dev Jul 22, 2026
1 check passed
@ngovinh2k2
ngovinh2k2 deleted the chore/update-quota-client-to-use-org-header branch August 18, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant