Skip to content

Commit

Permalink
data migration: allow saas
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Mar 7, 2024
1 parent 7ad40b0 commit 6987eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ASC.Web.Api/Api/MigrationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public async Task FinishAsync(FinishDto inDto)

private async Task DemandPermission()
{
if (!coreBaseSettings.Standalone || !await userManager.IsDocSpaceAdminAsync(authContext.CurrentAccount.ID))
if (!await userManager.IsDocSpaceAdminAsync(authContext.CurrentAccount.ID))
{
throw new SecurityException(Resource.ErrorAccessDenied);
}
Expand Down

0 comments on commit 6987eb8

Please sign in to comment.