fixies the refact of blog spot index
This commit is contained in:
parent
64e00f5d90
commit
21cd878839
13 changed files with 46 additions and 31 deletions
|
|
@ -85,7 +85,7 @@ public class PermissionHandler : IAuthorizationHandler
|
|||
{
|
||||
return applicationDbContext.CircleMembers
|
||||
.Include(c => c.Circle)
|
||||
.Where(m=>m.MemberId==user.GetUserId() && m.Circle.OwnerId == blogPost.OwnerId)
|
||||
.Where(m=>m.MemberId==user.GetUserId() && m.Circle.OwnerId == blogPost.AuthorId)
|
||||
.Any();
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue