Aperto Chiuso

Permissions from auth server app #7198


User avatar
0
Serge creato
  • ABP Framework version: v7.2.2

  • Database System: EF Core (PostgreSQL)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

    Hi I want to add the ability for user to create tenants so I plan to launch tenant creation from auth app. The problem is according to documentation all our permission definitions should be in Application.Shared but they are not registered during tenant creation from auth. And if I want to move them to Domain or Domain.Shared then the DbMigrator throw errors during seeding. So what is the best way for auth to get permissions registered in both host and auth?

    Thank you

Error from DbMigrator


3 risposte
  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi

    You can try to add Application.Shared to your authserver project.

  • User Avatar
    0
    Serge creato

    ok, thank you

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    : )

Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11