Hi Team,
In our Application, we need to have entity history for permissions as well. I mean whenever userrole or role permissions are changed then permissions has to be logged in entity history related tables.
Can you please let me know how to achieve it.
Thanks in Advance, Prasanna.
2 Answer(s)
-
0
Hi,
If you enable these two lines, see https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.EntityFrameworkCore/EntityFrameworkCore/AbpZeroTemplateEntityFrameworkCoreModule.cs#L44 and add Permission to tracked types in https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/EntityHistory/EntityHistoryHelper.cs it should work.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
@ismcagdas issue fixed by changes code as above mentioned.
Thanks,
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)