case 4144
This commit is contained in:
@@ -167,6 +167,12 @@ namespace AyaNova.Biz
|
||||
//Users are only permitted to search their own memo's
|
||||
if (await ct.Memo.AsNoTracking().AnyAsync(z => z.Id == t.ObjectId && z.ToId == currentUserId))
|
||||
CanReadMatchingObjects.Add(t);
|
||||
}
|
||||
else if (t.AType == AyaType.Reminder)
|
||||
{
|
||||
//Users are only permitted to search their own reminder's
|
||||
if (await ct.Reminder.AsNoTracking().AnyAsync(z => z.Id == t.ObjectId && z.UserId == currentUserId))
|
||||
CanReadMatchingObjects.Add(t);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user