Base solution for your next web application

Activities of "elferone"

Hi!

I'm wondering if it's possible with the asp.net zero framework to setup my controllers and controller actions to validate the user's roles instead of the user's permissions. This way, working with our customer, we could setup pre-defined roles and enforce those directly in the application (examples: Administrator, User, UserReadOnly, Supervisor, SectionSpecificUser, etc.).

We're encountering situations where we have "pages" that have dependencies on multiple permissions and we're looking at good solutions for this.

Thanks !

Answer

Hi!

I'm interested in the outcome for this, any update on how this will change in the future?

Thanks!

Angular & ASP.Net Core

ABP version 8.1

ABP framework 5.1.0

When I activate Entity History, It detects when I create and detele an entity. When I update an entity, It doesn't detected.

I follow all the instructions here : https://aspnetboilerplate.com/Pages/Documents/Entity-History && https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Entity-History

Tryed both configurations :

OR

Is there something missing ?

I tryed with two Entities :

The first one is one of mine :

The second one is abp role entity (this code is provided by asp.net zero, it hasn't been touched) :

Both didn't work.

Those are my entities :

OR

Is is necessary to use : await CurrentUnitOfWork.SaveChangesAsync(); ?

I went and got an empty project. I tested on it and the update was working. When I activate lazy loading it stopped working.

So the source of the problem was the lazy loading. Now I have to find a way to make it work together.

Does anybody faced the same problem ?

Hi,

I went into the DbContextConfigurer and added both lines :

Hi,

This is the link of the issue created :

https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5996

Answer

Hi @alfreds and @ismcagdas,

We'll be looking into this shortly, Umbraco Headless will of course be on the shortlist. I was wondering though if anyone has experience with other CMS.

Also, is this something that is on the roadmap for Asp.Net Zero, providing basic CMS functionnalities? The types of project we build on AspNet Zero often don't need very elaborate CMS, basic RTE and fields and images often suffice.

I'll chime back in if we move forward on this.

Showing 1 to 10 of 17 entries