Beispiel #1
0
 public async Task <bool> IsGrantedAsync(string permissionName, CancellationToken cancellationToken)
 {
     return(await IsGrantedAsync(session.UserId?.ToString(), permissionStore.GetByName(permissionName), cancellationToken));
 }