mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
This code change updates the permissions for the MonitorSecret model in MonitorSecret.ts. The update includes adding the Permission.EditMonitorSecret permission to the update operation, allowing project owners, project admins, and users with the EditMonitorSecret permission to update MonitorSecret records. This improvement provides better control over who can modify MonitorSecrets and ensures that only authorized users can make changes to sensitive information.
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.