# Country Overtime Permission

To manage overtime rules that apply at the country level, grant the new `country_overtime.manage` permission. HR and Admin roles continue to use `overtime_settings.manage` for company level rules.

## SQL Migration

Add the permissions in the `roles_permissions` table:

```sql
UPDATE roles_permissions
SET permissions = JSON_SET(
  permissions,
  '$.country_overtime', JSON_ARRAY('manage')
)
WHERE role = 'Super Admin';

UPDATE roles_permissions
SET permissions = JSON_SET(
  permissions,
  '$.overtime_settings', JSON_ARRAY('manage')
)
WHERE role IN ('HR Administrator','Admin');
```

Adjust the role names or `WHERE` clauses as needed for your environment.
