Skip to content

[Feature] [Mono]: restrict payment management to administrators in production#164

Merged
Gautam25Raj merged 1 commit into
masterfrom
feature/admin-payment-access-control
Jun 28, 2026
Merged

[Feature] [Mono]: restrict payment management to administrators in production#164
Gautam25Raj merged 1 commit into
masterfrom
feature/admin-payment-access-control

Conversation

@Gautam25Raj

Copy link
Copy Markdown
Collaborator

Summary

This pull request introduces production-only access controls for payment management, ensuring that payment-related functionality is restricted to administrators in production environments. It also adds a reusable RestrictedAccess component to provide a consistent experience when users encounter restricted features.

What's Changed

Access Control

  • Restricted payment management features to administrator accounts in production environments.
  • Added environment-aware access checks for payment-related functionality.
  • Improved protection of sensitive billing operations by preventing unauthorized access.

User Experience

  • Added a reusable RestrictedAccess component for displaying access restriction states.
  • Improved messaging and consistency when users attempt to access restricted functionality.

Improvements

  • Centralized access restriction logic to improve maintainability and support future role-based access controls.

Notes

  • No breaking changes are introduced.
  • These changes enhance the security of payment management while providing a clear and consistent user experience for restricted features.

@Gautam25Raj Gautam25Raj changed the title [Feature] [Studio]: restrict payment management to administrators in production [Feature] [Mono]: restrict payment management to administrators in production Jun 28, 2026
@Gautam25Raj Gautam25Raj merged commit a488948 into master Jun 28, 2026
9 of 10 checks passed
@Gautam25Raj Gautam25Raj deleted the feature/admin-payment-access-control branch June 29, 2026 07:43
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