mahan access to backup
This commit is contained in:
@@ -29,7 +29,7 @@ namespace ServiceHost.Areas.AdminNew.Pages.Company.FileBackup
|
||||
public IActionResult OnGet()
|
||||
{
|
||||
|
||||
if (_authHelper.GetPermissions().Any(x => x == 2))
|
||||
if (_authHelper.GetPermissions().Any(x => x == 2) || _authHelper.CurrentAccountId() == 322)
|
||||
{
|
||||
#region DbBackupLoad
|
||||
|
||||
|
||||
Reference in New Issue
Block a user