Here are the examples of the csharp api class Abp.Hangfire.AbpHangfireAuthorizationFilter.IsPermissionGranted(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: aspnetboilerplate
Source File: AbpHangfireAuthorizationFilter.cs
Source File: AbpHangfireAuthorizationFilter.cs
public bool Authorize(DashboardContext context) { if (!IsLoggedIn()) { return false; } if (!_requiredPermissionName.IsNullOrEmpty() && !IsPermissionGranted(_requiredPermissionName)) { return false; } return true; }