Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2201

Members management: course owners should be able to edit groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.7, 11.0.2
    • Fix Version/s: 11.0.8
    • Component/s: Course
    • Labels:
      None

      Description

      A course owner should be able to edit, configure etc. the groups which belong to a course. Even if he is owner of the groups, he's not able to edit them within the members management in a course. The following error message appears always:
      "Sie müssen mindestens eine Gruppe wählen, in der Sie die Betreuerrolle haben."

      I'm absolutely not sure if it has side effects, but the following patch fixes that. I tested around with several roles and everything was alright.

      diff --git a/src/main/java/org/olat/group/ui/main/AbstractBusinessGroupListController.java b/src/main/java/org/olat/group/ui/main/AbstractBusinessGroupListController.java
      --- a/src/main/java/org/olat/group/ui/main/AbstractBusinessGroupListController.java
      +++ b/src/main/java/org/olat/group/ui/main/AbstractBusinessGroupListController.java
      @@ -721,7 +721,7 @@
       			return;
       		}
       		
      -		final List<BusinessGroup> groups = toBusinessGroups(ureq, selectedItems, true);
      +		final List<BusinessGroup> groups = toBusinessGroups(ureq, selectedItems, false);
       		if(groups.isEmpty()) {
       			showWarning("msg.alleastone.editable.group");
       			return;
      

      NB: the implementation will be limited to list of groups in a course ( int the members management tool).

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m