Closed Trip-kun closed 8 months ago
The recent updates involve enhancing security and control within the Oatmeal application. Import statements for the Config
class have been added to certain command files, and new conditional checks ensure that administrative privileges are not altered for users listed as owners. Additionally, the MariaUser
entity has seen a refinement in its setAdmin
and setOwner
methods, with stricter parameter requirements and simplified assignment logic.
File Path | Change Summary |
---|---|
.../oatmeal/commands/oatmeal/admin/SetAdmin.java |
Added Config import and conditional check to protect owner users. |
.../oatmeal/commands/oatmeal/owner/SetOwner.java |
Added Config import and conditional check to prevent owner changes. |
.../oatmeal/entities/mariadb/MariaUser.java |
Updated setAdmin method signature and simplified setOwner logic. |
πβ¨ In the land of code, where the Oatmeal lies, A rabbit hopped in, with a twinkle in its eyes. "No more shall owners fear an admin's plight, For checks and balances now guard the night." ππ πβ¨
β¦d being more verbose to end user
Summary by CodeRabbit
New Features
Bug Fixes
Refactor