Best practice forum (Archived)

Behaviour of Goals in 2.5

 
Daniel Bond
Behaviour of Goals in 2.5
by Daniel Bond - Wednesday, 13 November 2013, 8:17 AM
Group Most helpful contributor 2023

Quick question about Goals:

If a manager assigns an employee a goal, only the manager can change the status of it, which makes sense.

If however Goal Review is included in an appraisal and the "Include Rating" is ticked, the employee can then modify the status of an assigned goal.

Is this the expected behaviour? Does allowing the employee to answer the goal review mean that they should be able to change the status of a goal that they can't through the Appraisals > My Goals screen?

Dan

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Wednesday, 13 November 2013, 1:05 PM
Group Totara

Hey Dan,

I think I see where you are coming from here. If I remove the permission to manage own company goals, they show up as un-editable strings on the my goals page. But if I then have an appraisal set up like you said, they show up as drop down selectors. Changing those selectors doesn't actually seem to have any effect on the learners actual status for that goal, however it isn't very consistent so I'll put a bug in to fix it.

Cheers,
David

Daniel Bond
Re: Behaviour of Goals in 2.5
by Daniel Bond - Thursday, 14 November 2013, 3:52 AM
Group Most helpful contributor 2023

Not sure if what you're describing is exactly what I'm describing, apologies if it is. Scenario:

Manager creates a personal goal for an employee and assigns it to them. In "My Goals" manager can set status, employee can't.

In an appraisal between manager and employee one of the items is a Goal Review, where both manager and employee can enter data. In this context, both manager and employee can change the status of the assigned goal, and changes that the employee makes are saved and reflected in their "My Goals" (where they still can't change the goal status).

Dan

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Thursday, 14 November 2013, 12:05 PM
Group Totara

Right, personal goals! I'll have another look.

Cheers,
David

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Thursday, 14 November 2013, 12:32 PM
Group Totara

Yes, I am seeing the same behaviour. I'd say any scale that is uneditable on the my goals page shouldn't be editable on the appraisal either, I'll amend the bug I filed yesterday to include this.

Cheers,
David

Daniel Bond
Re: Behaviour of Goals in 2.5
by Daniel Bond - Friday, 15 November 2013, 5:58 AM
Group Most helpful contributor 2023

There also appears to be a slight issue with editing goals generally; An employee is assigned a personal goal (in this example called "Assigned Goal") by their manager. They can't change the status on their "My Goals" page, as expected:

They can however click on the name of it, and the title has the "Edit" pencil and scale value is a drop-down:

The Goal can be edited:

Changes made on the edit screen, and to the Goal Value, are saved:

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Sunday, 17 November 2013, 1:43 PM
Group Totara

I won't close the bug then! I'll try have a look into this one today, if it's similar to the last one it shouldn't be too hard to fix.

Cheers,
David

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Sunday, 17 November 2013, 3:13 PM
Group Totara

I've added a fix for this to the original patch, all these places now get the permissions from a central function in goal/lib.php so they should behave consistently. Do let me know if you find any more places where this kind of this is happening though.

Cheers,
David

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Tuesday, 10 December 2013, 2:01 PM
Group Totara

Hey Dan,

The patch was included in yesterdays release of Totara 2.5.3, upgrading should have the goals permissions working a lot more consistently. Thanks for letting us know about this, and make sure to let me know if you still have any problems after upgrading.

Cheers,
David

David Curry (Core Developer)
Re: Behaviour of Goals in 2.5
by David Curry (Core Developer) - Thursday, 14 November 2013, 4:58 PM
Group Totara

Hey Dan,

Just to let you know I have a patch in review fixing this, you should probably see it in the next 2.5 release in a couple of weeks.

Cheers,
David