We check authorization for all billin-related operations once with authorize("Project:billing", @project.id). After that, users can provide any resource ID from other projects to delete payment method and usage alert, or get invoice details. It's important that customers can only access their own resources.
851 B
851 B