improve announce update torrent visible

This commit is contained in:
xiaomlove
2022-07-12 17:42:26 +08:00
parent afa8cdce99
commit 8872abe6b3
22 changed files with 98 additions and 421 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class UserPolicy extends BasePolicy
private function can(User $user)
{
if ($user->class >= User::CLASS_SYSOP) {
if ($user->class >= User::CLASS_ADMINISTRATOR) {
return true;
}
return false;