EduardoPires / EquinoxProject

Full ASP.NET Core 6 application with DDD, CQRS and Event Sourcing concepts

Home Page:http://equinoxproject.azurewebsites.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customer "Write" and "Remove" claims are only added with Presentation registration

maxpavlov opened this issue · comments

Both API and MVC (aka Presentation) apps require "Customer" - "Write" and "Remove" claims for Customer management controllers. However, an API "Register" action in an AccountController does not add those claims to a user. MVC does. Thus I assume users created through an API will not be able to manipulate customers. Is this an intended logic?

You can add the claims manually or create some feature to manage user claims.