In addition to Tim's suggestion to use customization, you could also use extensions to hide the samples tab.
{
"name": "hideSamples",
"schemaVersion": "1.0",
"extensions": [{
"perspective":"content",
"features": [{
"id": "hideSamplesTab",
"environment": {"groupsAndRoles": [":Consumers"]},
"excludeItems": ["com.ibm.bi.content.navigator.samples"]
}]
}]
}
Save that as spec.json, zip it, and then upload it as an extension.
It will hide the samples tab specifically for anyone with the Consumers role. You can have it hide for everyone by simply removing the environment object.
The question about the recent menu changes is something I've put a lot of effort into.

You can write an extension to add the actions menu back in, and even quick buttons. Since I've built this for PMsquare I can't share the code but this is essentially what I did: The Recents menu is constructed using React. You need to write an extension that will first overwrite the function the recents module use to build the react and replace it with your own. What I still haven't figured out is how to keep the menu open when the user clicks on the actions button. For the quick buttons, you'll need to check the type of object (you can edit reports, but not report views) and if the user has permission to use that tool (consumers shouldn't edit reports).
In total it probably took me around 60 hours to figure out.
------------------------------
Paul Mendelson
------------------------------