Disable Edit in Manage Resource Pool Participation

Hello,

In PPM version 24.3, I am planning to disable the edit option in the Manage Resource Pool Participation (please see photo below)

We want to prevent users from editing it and just allow them to Add a New Participation only for changes else it will impact Metabase SRM Reporting.

Kindly let me know if it is possible to disable the Edit.

Thank you.

  • 0  

    Hi Bryan,

    There's no proper way to disable editing participation on that screen (as long as current user can edit that resource and is eligible to edit pool participation of course). 

    So the only way would be to hide the link on the page using custom CSS - however, let's keep in mind that this will just hide the link, not prevent users from editing participation if they know the URL or look in the page code to find the link. As a reminder, you can easily add custom CSS to PPM in the "Theme Customization" Administration screen, which should be available already in 24.3. 

  • 0 in reply to   

    Hello Etienne,

    Appreciate your response.

    I haven't tried this custom CSS. Can you walk me through on how to do it? or if there is any documentation about it please let me know. Thank you

  • Suggested Answer

    0   in reply to 

    In the Administration Console (or the new PPM admin menu if you're on 24.4+) you'll see a "Theme Customization" menu. Open it, and at the bottom of the page you'll see a "CSS Editor" option where you can write any CSS you want that will be applied to all PPM pages. 

    So the trick here will be to look in the code of the "Manage Resource Pool Participation" page and find the right CSS selector that will uniquely identify all the "Edit" links - then set them to "display:none" in your custom CSS.

    Note that custom CSS entered in this editor applies to all pages upon save and will persist through PPM upgrades. So make sure to use very specific CSS selectors in order to make sure they don't end up impacting other PPM pages in case they are too generic.

    If you are not familar with CSS selectors, please first check with your colleagues, then with google, and if you still struggle finding a good CSS selector (or just would like us to review what you came up with) let us know here and we'll give it a look.

  • 0 in reply to   

    Thanks for the detailed explanation here. I clearly understood it.

    But it seems that the custom CSS solution is not best fit for our requirements. The edit option should be disabled to user but available for some security groups.

  • 0   in reply to 

    Then CSS customization won't work. This is an Enhancement Request.

    Or you could hide the menu here on this page with a CSS, and add a custom menu entry (or custom HTML+ portlet) with a link to the manage allocation screen that would only be shown to users with the right security group. But it will be a different entry point than the link on this screenshotted page.

  • 0 in reply to   

    I see. I will look into that. Thanks for your answer Etienne.