Sviatoslav Persydskyi
10/08/2024, 10:23 AMforeach (var entity in notification.SavedEntities)
{
if (entity.ContentType.Alias != StaffWriting.ModelTypeAlias)
{
continue;
}
_contentService.SetPermission(entity, 'F', new List<int> { userGroup.Id });
_contentService.SetPermission(entity, 'D', new List<int> { userGroup.Id });
}
Something like that. I don't think this is the best practice. What do you think is there better solution for the problem?
Thank you for any help!Jemayn
10/08/2024, 10:54 AMSviatoslav Persydskyi
10/08/2024, 12:50 PMJemayn
10/08/2024, 12:55 PMSviatoslav Persydskyi
10/08/2024, 1:01 PM