Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kamanchan"

Hello,

It seems different, the test invoke GetUsers which is in the project of identity server. Now, I have anohter server (in my case, projectB) which is only hosted the api being consumed, it depends on the identity server project(in my case, projectA) and didn't host any user and permission information. So will AbpAuthorize in projectB work to check the permission?

What I want to achieve is creating several API projects with ABP and share the APIs among them through identity server. Is there any example for that?

Thanks!

Hello,

I have created 2 projects, let say projectA and projectB, which projectA enabled identity server integration and projectB has some apis will be consumed. I have tested password and client crediantial grant types, access token can be fetched successfully from projectA but when I invoke apis in projectB, 403 forbidden is returned. I found that 403 returned only when I use AbpAuthorized attribute, if I use authorized instead, api can be called successfully. Could you give me some advise?

And another question, if I specify the permission of the api in projectB (for example, specified attribute 'AbpAuthorized(Permission.XXXX)', will Abp check if the user has such permission?

Thanks!

Hi,

For example, moduleB has data associated with user records, and in moduleA there is an operation to delete user, when the user is deleted, I want to delete the associated data in moduleB. So I create a event handler for user deleted in moduleB to do the operation. However, when the event is trigger, the UnitOfManager.Current is null (in usual case, it is not null).

I have develpered 2 modules, say ModuleA, and ModuleB. In ModuleB, I have created an event handler for AbpTenantBase Created, and in somewhere of ModuleA, I add a new AbpTenant record. This event handler above in moduleB is executed but _unitOfWorkManager.Current is null which is not expected by me. How can I fix this? Thanks!

Showing 1 to 4 of 4 entries