Activities of "trannguyenphucanh"

  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Support Team,

I have a requirement to hide/show certain pages based on current user role. So I came up with the idea to inject User Service into route.provider.ts, it looks like this:

Then, based on invisible property, I thought the page would hide/show as expected, but the variable isSAOnly is always false as the service did not get injected properly I assume.

So my question is: Is it possible to inject a service to route.provider.ts (as I haven't done it before)? If so, what is the correct way to implement it?

There's a similar thread , but what I want is to combine both user's permission & role, since the those 2 could be very much overlapped.

Hope to hear from you guys soon.

Thanks.

I will check it again. Thank you so much.

Hello, I send the error logs.

  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Support Team,

I've encountered this bug:

  1. Go to "Administration" -> "Identity Management" -> "Organization Units"
  2. When I click "Add root unit"
  3. After I enter the name and click save, it can't be saved

Since I can not access the the API (/identity/organization-units) as it belongs to the framework core. I hope support team can help me solve this bug Hope to hearing from you guys soon.

Thanks.

Thank you. So how does the security of .NET 6 compare to .NET 7?

Because I've just done some research, .NET 7 has faster performance indeed, but nowhere mentions the improvement of security between 2 versions, so I assume it's pretty much the same, doesn't it?

  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Supporting Team,

I'm planning for a major version upgrade in expecting for security enhancement. I've read through the changed logs but seemed not to catch as many related information about it. So I have a few things to consider:

  1. How is the security of v5.3.3 comparing to upper versions? Is it better? If so, what is the particular improvement?
  2. Does a framework upgrade ensure lesser security threats?
  3. What are the specific affects after replaced Identity Server with OpenIddict? Does it have anything to do with security enhancement?

Could you guys share your thoughts about it?

Hi, is there any update?

I tried to put modelBuilder.UseGuidCollation(string.Empty); in DbContextModelCreatingExtensions instead of DbContext and run migration, the parameter collations for newly created column are all disappeared, which is good, but it also alters current columns collation:

Because current columns use default collation, their collation parameter shouldn't be added, and surely not ascii_general_ci.

Could you guy take a look at this?

  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • Database: MySQL WorkBench 8.0.30"

Hi Support Team,

I've tried to create a dozen of tables using code-first EF Core, there're 2 tables having foreign key to abpusers table.

I created domain classes, declared them in DbContextModelCreatingExtensions as well as in DbContext , ran add-migration command, a migration file was created. After that, I ran DbMigratorproject, an issue appeared:

1.Failed to open the referenced table 'appuser': I solved this one by manually modifying the migration file, changed parameter name in table.ForeignKey() and principalTable from AppUser to AbpUsers at the 2 tables having foreign key.

Then I ran the add-migration command again, another issue appeared:

2.Referencing column 'UserId' and referenced column 'Id' in foreign key constraint 'FK_my_table_AbpUsers_UserId' are incompatible.: I also solved this one by manually deleting parameter collation: "ascii_general_ci"at columns UserIdin the file and ran the command again. All worked well.

But, is there any way to remove the collation: "ascii_general_ci param and just uses the default type when migration file is generated? I notice this param is automatically added after the framework is updated to v5 (.NET 5 => .NET 6).

I've tried an answer from stackoverflow but didn't work.

Also, I really appreciate if there's any solid solution for the 1st issue.

Hope to hearing from you guys soon.

Perfect! QA's package is a bit different but I still managed to make it work. Thank you so much.

Can you send your package.json ? https://drive.google.com/file/d/1BcqXOAeBxPdKhjVqB_Gv9eOAXiQkucBE/view?usp=share_link

Showing 41 to 50 of 58 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11