mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
461f69b11e
This code change updates the permission names in multiple files to align with the latest naming conventions. The following changes were made: - In NotificationAPI.ts, the permission name "CanManageProjectBilling" was changed to "ManageProjectBilling". - In DataMigration.ts, the permission names "CanCreateProjectLabel" and "CanReadProjectLabel" were changed to "CreateProjectLabel" and "ReadProjectLabel" respectively. - In BillingPaymentMethodAPI.ts, the permission name "CanCreateBillingPaymentMethod" was changed to "CreateBillingPaymentMethod". - In BillingInvoiceAPI.ts, the permission name "CanEditInvoices" was changed to "EditInvoices". - In PromoCode.ts, the permission names "CanCreateProjectLabel" and "CanReadProjectLabel" were changed to "CreateProjectLabel" and "ReadProjectLabel" respectively. Additionally, the permission names "CanReadProject" and "CanEditProject" were changed to "ReadProject" and "EditProject" respectively. These updates ensure that the permission names are consistent and reflect the intended functionality. Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made. |
||
---|---|---|
.. | ||
AnalyticsModels | ||
Migrations | ||
Models | ||
Permissions | ||
Tests | ||
.dockerignore | ||
jest.config.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
OneUptime Model Library
The OneUptime Model Library is a collection of shared database models and utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with TypeScript and TypeORM. It includes models like User, Monitor, Incident, and Team. It also includes utilities like database connection, and query builders, etc.