0
madklm_16 created
4 Answer(s)
-
0
Hi,
See: https://docs.abp.io/en/abp/latest/UI/Angular/Entity-Action-Extensions#how-to-place-a-custom-modal-and-trigger-it-by-entity-actions
You can create an
identityEntityActionContributor
to remove the action:.... export function removeDeleteContributor(actionList: EntityActionList<IdentityUserDto>) { actionList.dropByValue('AbpIdentity::Delete', (value, searchedValue) => value.text === searchedValue); } export const identityEntityActionContributors: IdentityEntityActionContributors = { // enum indicates the page to add contributors to [eIdentityComponents.Users]: [ removeDeleteContributor, // You can add more contributors here ], }; .... // src/app/app-routing.module.ts // other imports import { identityEntityActionContributors } from './entity-action-contributors'; const routes: Routes = [ // other routes { path: 'identity', loadChildren: () => import('@volo/abp.ng.identity').then(m => m.IdentityModule.forLazy({ entityActionContributors: identityEntityActionContributors, }) ), }, // other routes ];
-
0
custom contributor is a solition but I would remove the permission of the users. After that the user can't see and use.
-
0
Is there way to do it programmatically ?
-
0
Will this can help for you? https://support.abp.io/QA/Questions/6383#answer-3a0f9c51-4061-c15b-3343-1258a319af48