Activities of "auxo-devsu"

hi

Can you share Logs.txt file?

I think you have some permission problem.

btw, Is there any error message on browser console?

liming.ma@volosoft.com

It's happening again today. Where do I find the 'logs.txt'? I don't have it anywhere.

The only thing I could see on the browser is below:

Maybe this could indicate an issue. I can still see the Admin website loading, except for the menu. I get access denied if I try to go /Saas/Host/Tenants

hi

Can you check the logs.txt to see what happened?

Should I be looking for some specific message? All the logs I can see on our app are informational.

  • ABP Framework version: v8.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes\
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
    • Log into Admin Web > Side Menu doesn't load, just 'Home'

See the image below. Home always shows but not the other ones. They disappear altogether and no changes have been made to the menu,

Could you please share with me the code reference so I know where ABP populates ICurrentUser? I'm a commercial customer, but I'm happy with a reference to the open-source version, too.

Thanks, Osmar

Thank you, this was helpful!

A couple of additional questions on top of what I sent before:

  1. This could break a lot of built-in functionality, and I'm not sure it's feasible. Could you please expand on what you think would break and why?
  2. I am creating my own implementation of ICurrentUser and that seems to be the right direction in terms of passing the correct ID to ABP. How does ABP handle the claims received by Auth Server? Does ABP have anything in between the Auth Server and how claims get populated within the ClaimsPrincipal?

Thanks.

I spent the day looking into this, but unfortunately, as we are ABP Commercial customers, I can't see what IdentityPro registers. I would like to know which services to rewrite, which claims my users have to have, and how to ensure that tenant information and the current user are populated correctly.

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

Hi,

I'm replacing ABP's AuthServer with Auth0. I can authenticate users on Auth0, but that's the easiest part. To make things easier, I'm tackling one problem at a time. Please, note that I have looked at the docs and I didn't find anything pointing me in the right direction.

**I want to log into Admin Web Portal using my Auth0 user **

I have successfully configured the authentication to switch from Auth0 to Auth Server - both can authenticate, but only Auth Server authorises users.

**My questions are: **

  1. How do I let the authenticated user see the links and menus post-authentication?
  2. How do I ensure that ICurrentTenant has the correct tenant post-login?
  3. How do I ensure that CurrentUser.IsAuthenticated gets updated correctly? I can see that HttpContext.User.IsAuthenticated is equals true, but CurrentUser.IsAuthenticated is always false.

Thanks in advance.

Thanks!

Regarding Item 1, I will try to work with that but so far no luck.

Regarding Item 2, this is what I've done but no luck too:

What am I missing?

I'm sorry, but I checked both documents before coming here; otherwise, I wouldn't have created a ticket.

If you refuse to give me an answer, that's OK. I have a fully functional system, but I can't see how I can remove the permission groups in either document you have suggested so far. If that's as simple as you suggested, I would really appreciate if you could copy something from the actual page that indicates how to do what I am asking.

Sorry, maybe I'm missing something here.

1. I would like to delete the permission groups above. What are the options I have for doing that?

How does this help deleting the groups I posted in my question? I would like to have permissions that I no longer define deleted from the application.

2. I would like to define the permissions of a given role. What are the options I have for doing that? Currently, I create my roles using IdentityRoleManager.CreateAsync and then the permissions are loaded into the system through the class inheriting from PermissionDefinitionProvider. If I am to create my roles and associate the default permissions for my role, are you saying that I create group.AddPermission("MyPermissionName").WithProviders("IdentityRoleName); ?

3. How do I ensure that new tenants being created always get the latest set of default permissions for the application? I'm on ABP commercial and would like to ensure that new tenants have the roles and also the permissions associated with the role created by default. If I do what is explained in step 2, do I achieve what I would like to?

4. Can I disable the out-of-the-box admin role? How do I do that?

Thanks

Showing 1 to 10 of 22 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13