Take a look at the following code in commands.rs:
The contract implements inconsistent permission checks for farm management operations. While the contract owner has the ability to close any farm through the close_farm function, they are not granted the same privilege to expand farms through the expand_farm function.
This creates an asymmetric permission model where:
This inconsistency could lead to issues in emergency situations where the contract owner needs to manage farms holistically but is limited by the permission model.
Make the permission model consistent by adding contract owner check to expand_farm:
