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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Serge created

    ok, thank you

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.