Activities of "liangshiwei"

Hi,

can you share the full error logs?

I will check it.

I would also like to know what you would suggest as best practice for such a scenario as I have described?

As I said before, you can hide the admin account.

What do you mean by “tenant simulation”? I assume you mean the “Login with this tenant” button. But this only works if an admin user is assigned to the tenant. However, I mean the option of being able to log in to the tenants with the host admin and having admin rights

actually, this is impossible. Because tenants and host data are independent

I could not reproduce the problem.

my steps:

  • abp new Qa7900
  • Run dbmigrator
  • Add a page named index under the /Pages/Inventory/Items
  • Add index.js file

Because the user has rights to the user management, he can delete or change our admin user. Of course, it would be best if he could not even see this user. Otherwise, however, the admin user would have to be protected against deletion/modification. What is the best way to protect or hide it?

you can override the IdentityUserAppService to hide admin from return. and override the update/delete method.

Would there be a way that the host admin user could log in to all tenants and have admin rights? Or does that make no sense / is impossible? Then you could remove the admin user from the tenant.

You can use the tenant simulation feature

I would also like the customer not to see the Identity management menu item, but directly an item named User management. How should I do this?

you can add a new MainMenuContributor to change the menu name.

for example:

if(currentUser.name != "admin")
{
    var administrationMenu = context.Menu.GetAdministration();
    administrationMenu.TryRemoveMenuItem("AbpIdentity");
    administrationMenu.AddItem(new ApplicationMenuItem(IdentityProMenus.Users, new FixedLocalizableString("User management"), url: "~/identity/users").RequirePermissions(IdentityPermissions.Users.Default));
}
 

Hi,

I think this is related to RabbitMQ server, you can check this https://stackoverflow.com/questions/64096600/rabbitmq-connection-refused-127-0-0-15672

Hi,

Sorry for being late. I will let the Angular team answer your question.

I have used [Authorize] in my controller class and method. When I try to execute the API with the invalid token, in the logs I see the error message that says invalid token or token no longer valid.

What's the Angular-side error message? It should prompt unauthorized

Hi,

Could you share the full steps to reproduce? i will check it.

Hi

Chat feature is disabled by default, you need to enable it https://abp.io/docs/latest/modules/chat#manage-chat-feature

Hi,

Could you share the * Steps to reproduce the issue:

Showing 411 to 420 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11