Browse Source

Resolved #8065: Mark EntityAction.RequiredPolicy obsolete for the Blazor UI.

pull/8074/head
Halil İbrahim Kalkan 6 years ago
parent
commit
0daf72bafb
  1. 2
      framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs

2
framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs

@ -1,5 +1,4 @@
using System; using System;
using System.Diagnostics.SymbolStore;
using System.Threading.Tasks; using System.Threading.Tasks;
using Blazorise; using Blazorise;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
@ -25,6 +24,7 @@ namespace Volo.Abp.BlazoriseUI.Components
public EventCallback Clicked { get; set; } public EventCallback Clicked { get; set; }
[Parameter] [Parameter]
[Obsolete("Use IsVisible to hide actions based on permissions. Check the permission yourself. It is more performant. This option might be removed in future versions.")]
public string RequiredPolicy { get; set; } public string RequiredPolicy { get; set; }
[Parameter] [Parameter]

Loading…
Cancel
Save