Remove menu item "Assign Product Owner" in Angular Portal

Hi there. I am trying to look for the configuration where I could disable the menu option "Assign Product Owner" in Angular Portal when viewing System Entitlements under Data Administration. Could this be disabled only by editing Angular project or there could be an option in Access Portal configuration? Could not find anything relevant in Configuration.

Screenshot: https://ibb.co/LdtB9sGZ

Top Replies

Parents
  • Hi  , 

    I've been checking both v9x an v10 and found no config option available in the admin portal. The option appears when you're an admin in data explorer (route 'admin') , so it'll be there no matter what. You could edit the groups.component.html in tsb and add a false condition to the option (line 103 in v9x)

    -<button *ngIf="isAdmin" [disabled]="selectedGroupsForUpdate.length === 0" mat-menu-item (click)="bulkUpdateOwner()" class="imx-right-button">
          <span translate>#LDS#Assign product owner</span>
        </button>
        
    +<button *ngIf="isAdmin && false" [disabled]="selectedGroupsForUpdate.length === 0" mat-menu-item (click)="bulkUpdateOwner()" class="imx-right-button">
          <span translate>#LDS#Assign product owner</span>
        </button>   
    

    The menu option ends up calling the script QER_TakeOwnerShip in Designer. So another way could be filter this script so no matter which owner you choose it'd mean nothing, but all in all you could still see the option in Angular. 

    We've done a deep customization of tsb in v9x so when the time has come to make modifications in v10 we've created a module of our own and move all custom code to leave tsb untouched.

Reply
  • Hi  , 

    I've been checking both v9x an v10 and found no config option available in the admin portal. The option appears when you're an admin in data explorer (route 'admin') , so it'll be there no matter what. You could edit the groups.component.html in tsb and add a false condition to the option (line 103 in v9x)

    -<button *ngIf="isAdmin" [disabled]="selectedGroupsForUpdate.length === 0" mat-menu-item (click)="bulkUpdateOwner()" class="imx-right-button">
          <span translate>#LDS#Assign product owner</span>
        </button>
        
    +<button *ngIf="isAdmin && false" [disabled]="selectedGroupsForUpdate.length === 0" mat-menu-item (click)="bulkUpdateOwner()" class="imx-right-button">
          <span translate>#LDS#Assign product owner</span>
        </button>   
    

    The menu option ends up calling the script QER_TakeOwnerShip in Designer. So another way could be filter this script so no matter which owner you choose it'd mean nothing, but all in all you could still see the option in Angular. 

    We've done a deep customization of tsb in v9x so when the time has come to make modifications in v10 we've created a module of our own and move all custom code to leave tsb untouched.

Children