Activities of "maliming"

Answer

If you get an error while managing user permissions in angular identity management, please refer to the temporary solution below.

  1. Create an entity-action-contributors.ts file in your project and add the code below in it.
import { EntityAction, EntityActionList } from '@volo/abp.commercial.ng.ui';
import { eIdentityComponents, Identity, UsersComponent } from '@volo/abp.ng.identity';
import { IdentityEntityActionContributors } from '@volo/abp.ng.identity.config';

const permissionsModal = new EntityAction<Identity.UserItem>({
  text: 'AbpIdentity::Permissions',
  action: data => {
    const component = data.getInjected(UsersComponent);
    component.openPermissionsModal(data.record.id);
  },
  permission: 'AbpIdentity.Users.ManagePermissions',
});

export function permissionsModalContributor(actionList: EntityActionList<Identity.UserItem>) {
  const index = actionList.indexOf(
    'AbpIdentity::Permissions',
    (action, text) => action.text === text,
  );
  actionList.dropByIndex(index);
  actionList.addByIndex(permissionsModal, index);
}

export const identityEntityActionContributors: IdentityEntityActionContributors = {
  [eIdentityComponents.Users]: [permissionsModalContributor],
};
  1. Import identityEntityActionContributors in your root module (usually AppModule) and use it like below:
import { IdentityConfigModule } from '@volo/abp.ng.identity.config';
import { identityEntityActionContributors } from './entity-action-contributors';

@NgModule({
  imports: [
    // Other imports
    
    IdentityConfigModule.forRoot({
      entityActionContributors: identityEntityActionContributors,
    }),
    
    // Other imports
  ],
  providers: [],
  declarations: [AppComponent],
  bootstrap: [AppComponent],
})
export class AppModule {}

You can try ToggleStringValueType

myGroup.AddFeature(TestAppFeatures.Chat,"false", L("Feature:Chat"), L("Feature:Test:Description"), new ToggleStringValueType() ,false);

hi

You can download the source code of the module in abp suite

https://docs.abp.io/en/commercial/latest/abp-suite/index

hi

You can create an app-pro project and then copy Nuget.Config from its aspnet-core directory to the module project directory.

I will fix this problem in the next version.

Answer

hi @sean.alford

There is no problem with the package reference. I can't reproduce your problem. (abp cli & abp suite v2.5.0)

Answer

hi bhyatz

I think this is ok.

Answer

Volo.Abp.Identity.Pro.HttpApi.Client project lost less HttpClientUserRoleFinder.

It will be added in v2.6.

Answer

What is your UI? (Angular or razor page) Are you using identity server?

hi @rajasekhard2015

Please refer to https://support.abp.io/QA/Questions/30

Answer

how can i call the service without login to system.

AllowAnonymous suppresses the authentication. So, GetAsync method is available to everyone including unauthorized users.

https://docs.abp.io/en/abp/latest/Authorization#authorize-attribute

Showing 4021 to 4030 of 4062 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13