diff --git a/Directory.Build.props b/Directory.Build.props index 8a05769..7c4c69f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,7 @@ $(Company) Copyright © $(Company) $([System.DateTime]::Now.Year) $(Company)™ - 1.0.2-beta-1 + 1.0.3-beta-1 MIT diff --git a/Kentico.Xperience.Typesense.Admin/Admin/UIPages/IndexListingPage.cs b/Kentico.Xperience.Typesense.Admin/Admin/UIPages/IndexListingPage.cs index c6e2251..0d88968 100644 --- a/Kentico.Xperience.Typesense.Admin/Admin/UIPages/IndexListingPage.cs +++ b/Kentico.Xperience.Typesense.Admin/Admin/UIPages/IndexListingPage.cs @@ -124,7 +124,7 @@ public async Task Delete(int id, CancellationToken cancellati /// The ID of the row whose action was performed, which corresponds with the internal /// to rebuild. /// The cancellation token for the action. - [PageCommand] + [PageCommand(Permission = TypesenseCollectionPermissions.REBUILD)] public async Task> Rebuild(int id, CancellationToken cancellationToken) { var result = new RowActionResult(false);