refactor: remove syncing

This commit is contained in:
2026-03-16 13:56:10 +08:00
parent 58f42de9df
commit 8d30a0419d
18 changed files with 25 additions and 954 deletions

View File

@@ -65,18 +65,6 @@ class TerminalPolicy
return $user->can('terminal.delete');
}
/**
* 判断用户是否可以同步终端配置
*
* @param User $user
* @param Terminal $terminal
* @return bool
*/
public function sync(User $user, Terminal $terminal): bool
{
return $user->can('terminal.sync');
}
/**
* 判断用户是否可以恢复已删除的终端
*