Activities of "chiefupstart"

Question

We have a general question about how permissions get populated in the database. We recently altered several permissions, mostly to better align with naming conventions, and then ran DBMigrator expecting that the altered permissions would be in the AbpPermissions table. However, the AbpPermissions table did not contain our new permissions.

We tried several tests and eventually were able to reliably replicate an issue:

  1. TRUNCATE Permissions, PermissionGroups, PermissionGrants.
  2. Run DBMigrator
  3. PermissionGrants table is populated but not Permissions or PermissionGroups.
  4. Start the API backend project.
  5. Now Permissions and PermissionsGroups are populated.

Our PermissionDefinitionProvider class is in the Application.Contracts project, just FYI.

Is there something we are not correctly understanding about how permissions work? Thank you for your time.

  • ABP Framework version: v8.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello. I noticed yesterday that the abp generate-proxy -t ng command is generating proxy files with incorrect imports. Almost all of my proxy model files have imports that look like:

The files have duplicate imports from /models and /*.enum. Is there a known solution or workaround for this issue?

  • ABP Framework version: v8.4.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35