Best practice forum (Archived)
This forum discussion has been removed
Hi Liz,
As long as a user doesn't have any existing feedbacks or appraisals it's possible to get rid of the "Appraisals" menu item by removing two capabilities from the "Authenticated User" role in the system context:
- totara/hierarchy:viewownpersonalgoal
- totara/hierarchy:viewowncompanygoal
Unfortunately it doesn't look like we're applying the same rules to the My Team report, so the links you are showing won't be affected.
I'll file a bug and we'll get that fixed (it won't make it into today's release so it will be a couple of weeks).
In the mean time you could change the code to remove them, you would need to edit the function rb_display_user_with_links() in the file totara/reportbuilder/rb_sources/rb_source_user.php. You would want to remove lines 425-429 which currently read:
if (!$tempman || $tempman->id != $USER->id) {
$links .= $appraisal_link.' | ';
}
$links .= $feedback_link.' | ';
$links .= $goal_link.' | ';
$links .= $required_link;
We'll let you know once this is fixed.
Simon
Hi Alan,
We have a feature request to customise the totara menu - I'll add a link to your comment here.
Now that 2.5 is out we're going to start working on some of these smaller features and customising the totara menu is definitely on the to do list.
Simon
I'm sorry to be the bearer of bad news today, but that isn't currently possible either :-(
It could be removed via a code change to user/position_form.php by removing or commenting out the lines of code between line 294 - 315.
I will add a note to the enhancement request about hiding appraisal to ensure that the appraiser can be hidden on the positions tab too.
Simon