Skip to content

Commit

Permalink
added missing permission for rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
samihafidiDLW committed Jul 16, 2024
1 parent 91862b3 commit 4a56a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Authors>$(Company)</Authors>
<Copyright>Copyright © $(Company) $([System.DateTime]::Now.Year)</Copyright>
<Trademark>$(Company)™</Trademark>
<VersionPrefix>1.0.2-beta-1</VersionPrefix>
<VersionPrefix>1.0.3-beta-1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public async Task<INavigateResponse> Delete(int id, CancellationToken cancellati
/// <param name="id">The ID of the row whose action was performed, which corresponds with the internal
/// <see cref="TypesenseCollection.Identifier"/> to rebuild.</param>
/// <param name="cancellationToken">The cancellation token for the action.</param>
[PageCommand]
[PageCommand(Permission = TypesenseCollectionPermissions.REBUILD)]
public async Task<ICommandResponse<RowActionResult>> Rebuild(int id, CancellationToken cancellationToken)
{
var result = new RowActionResult(false);
Expand Down

0 comments on commit 4a56a12

Please sign in to comment.