Guys,
I need fro create dynamic permissions from database, but the below code doesn't work.
public class AppAuthorizationProvider : AuthorizationProvider
{
IRepository<MyTable> _repository;
public AppAuthorizationProvider(IRepository<MyTable> repository)
{
_repository = repository;
}
public override void SetPermissions(IPermissionDefinitionContext context)
{
var items = _repository.GetAll().ToList();
..
..
}
}
How to make dependence valid from AppAuthorizationProvider ?
Thanks, Alexnaldo Santos
Hi Guys,
I'm using DevExpress XtraReport to create reports.
In the Report Design, we uses BindindSource to DataBinding. When we select any database class from Core "Models" project the Visual Studio close unexpected. If I do the same thing using any class that doesn't inherited from FullAuditedEntity or AuditedEntity<> all work fine, even if the new class in the same project "Core", so the problem is ABP inheritance.
Does anyone can help me?
Thanks, Alexnaldo Santos
Hi,
How I can enable audit for all exception ?
The raise an exception but doesn't appear at Logs table.
Hi,
Why only GetAll() doesn't have a async method?
Thanks.