Open Closed

Permissions from auth server app #7198


User avatar
0
Serge created
  • 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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

  • User Avatar
    0
    Serge created

    ok, thank you

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11