add ability to show backups to superadmins

This commit is contained in:
2023-12-14 20:23:27 +05:00
parent c242d48e06
commit 382317f1ae
3 changed files with 11 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
->onSwitchLocale(NovaRepo::localeSwitcherSave()),
BackupTool::make()
->canSee(NovaRepo::isMe()),
->canSee(NovaRepo::isAdmin()),
LogsTool::make()
->canSee(NovaRepo::isMe())