Open Closed

i have issues in abp permission #9301


User avatar
0
smwasimraja@gmail.com created

Can't bind to 'abpPermission' since it isn't a known property of 'button' (used in the 'ListReviewComponent' component template).

  1. If 'button' is an Angular component and it has the 'abpPermission' input, then verify that it is a part of an @NgModule where this component is declared.
  2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

i need dependency injection

<button (click)="addapp()" *abpPermission="'AccessReviews.create'">+ Create Review Campaign</button>

above button doesnt showing


3 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, you need to import PermissionDirective to the related module or the component if it is standalone. Let me know if you need further assistance on that.

  • User Avatar
    0
    smwasimraja@gmail.com created

    now its working but i have another problem

    i didnt gave perimssion to access review create but still its showing create button

    i have attached the code and ui

    here is the ui

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, can you confirm that the related permission is configured with the same name on the backend side as BlueStar.AccessReviews.Create?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37