One thing that I have ran into is when say a teacher logs in, that teacher can see all students, including students from other classes. If I was to make additional classes this would be a temendous amount of students that teachers would see in their gradebooks that would not belong there.

As a solution, I thought I read somewhere that creating a og with og_gradebook and turning off the role assignments in the gradebook api might solve this, but it seemed to only make the teachers act like students even when I give them additional permissions in user management.

I have searched around to see if this was an issue anywhere else, but can't seem to find it. Hoping there is a quick fix.

Comments

MGN’s picture

For multiple classes, the solution is as you describe - use the organic groups module to create a group for each class. Then enable og_gradebook, which will provide a gradebook for every group. The teachers are the manager of their groups(classes). As such they will not appear in the gradebook, but will be able to edit the settings of the gradebook and have all the privileges that a teacher should have.

  • Students should join the groups/classes that they are to be enrolled in. This can be done as either an open or closed enrollment, or they can be assigned groups as they registrar at the site. Only non-admin members of the group are considered students.
  • Except 'access gradebook' teachers and students don't need any special gradebook permission (assigned at /admin/user/permissions)
  • Turn off all sitewide student and teacher rolls at the "Sitewide gradebook settings" (at admin/gradebook/gradebook/settings)
  • I use organic groups access configuration and set visibility of posts to : "Post Visible only within the targeted groups."

That's all I can recommend at the moment. If this doesn't accomplish what you are looking for, let me know what you would expect to see and what you see on your site.

MGN’s picture

Status: Needs review » Active
Gov-2’s picture

Thank you for you help again MGN. I will make sure and give it a try again when I get a chance to.

Gov-2’s picture

Status: Active » Fixed

I guess I was a little close with using og_gradebook. The problem that I was trying to give the teacher admin perfmissions through the Drupal user permissions, instead I needed to give group permissions through the organic groups interface. Thanks again for your help. I know have this module running exactly the way I need it.

-Gov

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

AntiNSA’s picture

Title: Teacher can see students from all class » Teacher can see students from all class pros/cons of using OG vs Roles
Status: Closed (fixed) » Active

Sorry to make this active, but I am trying to see if this can be done without using og. I have used og a year or two ago, and to try to avoid further complexity I was trying to create roles for each class.

I am quite curious if anyone can tell me if there are any pros to being able to handle multiple classes without using og?

As it stands I am seeing every student in the same gradebook. I was going to see if it was possible to use views to somehow create a block with filters to display results from different class roles.

Thanks

MGN’s picture

Status: Active » Closed (fixed)

Wow, sorry I missed that this was reopened.

With better views integration this might be possible. We already have a task for that, so I think this request would fit well under that issue.

Since its been a few months without response, I am going to close this issue for now. Please followup on #655636: Improve views support for gradebook if you think this is still worth doing.

AntiNSA’s picture

Im now comitted to og. Thanks!