Update Permissions
Best Practices
Sending differential updates
To optimize performance and reduce processing overhead in SCAYLE's backend systems, transmit only incremental changes (diffs) for permissions and translations rather than the entire dataset.
Running the Job on single server
If your Add-on executes a scheduled job across multiple servers to synchronize permissions and translations, consider restricting the job to run exclusively on a single server to avoid redundant operations and ensure data consistency.
Schedule::command('sync:translations')
->fridays()
->at('17:00')
->onOneServer();