User Indicator Applet - Remove Suspend/Hibernate Menu Options

[18.04] How can I remove the Suspend and Hibernate options from the User Indicator applet menu?

Thanks.

It will need a code change to enable you to configure the visibility of those options.

Best raise this upstream and if you want to have a go then you could make a pull-request with the fix.