Project

General

Profile

Bug #5258

When "unsubscribe allowed" is set in a course, the student has no way to unsubscribe

Added by Yannick Warnier about 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
26/07/2012
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

There should be an action button next to his name in the users list when he is registered and this option is set to $course['unsubscribe'] == UNSUBSCRIBE_ALLOWED.

Associated revisions

Revision 8cc96ed5 (diff)
Added by Julio Montoya about 7 years ago

Implements unsubscribe button for students see #5258

History

#1

Updated by Yannick Warnier about 7 years ago

I'm working on this from the course catalog as well (related to #5240)

#2

Updated by Yannick Warnier about 7 years ago

  • % Done changed from 0 to 10

Now there is a way through the courses catalog, so this task is not as critical, but I think the right place would still be the users list (there should be something in the social network for that as well - a list of courses to which one is subscribed and from which he can unsubscribe).

#3

Updated by Yannick Warnier about 7 years ago

I just checked the unsubscribe_user() method in CourseManager class and it doesn't delete the tracking information, only the relationships tables, so it's not a big deal if the user doesn't have to confirm his unsubscription.

#4

Updated by Yannick Warnier about 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Julio Montoya
  • Estimated time set to 1.00 h

Current only objective: add an "Unsubscribe" icon in the users list inside the course if the "Allow unsubscription" option is = 1. Don't confirm anything. Just unsubscribe and send user to his courses list.

#5

Updated by Julio Montoya about 7 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)
  • % Done changed from 10 to 80

ok this new button only will work for courses no for courses in a session

#6

Updated by Yannick Warnier about 7 years ago

  • Status changed from Needs testing to Bug resolved
  • % Done changed from 80 to 100

Julio A. Montoya wrote:

ok this new button only will work for courses no for courses in a session

Which is fine, because the use of sessions demonstrates the use of some additional management over students subscriptions, so that it shouldn't be possible for a student to act on his own in this context.

Tested and approved (although I would have prefered having the same button label in the course catalog and the course itself).

Also available in: Atom PDF