Project

General

Profile

Bug #8638

members not syncing from group to site

Added by Marilyn Weber almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
Group Blogs
Target version:
Start date:
2017-08-31
Due date:
% Done:

0%

Estimated time:

Description

This is complicated, and I'm adding Luke since he knows the beginning of this saga better than I do.

Leah Anderst had a Spring course site connected to a group. Luke cloned the site and had her attach the new site to her group. Something went wrong and so she needed to uncouple then recouple the two, which seemed to go fine. But the members of the group didn't become users of the blog. Matt "believes that linking a site to a group from Manage > Group Sites is supposed to sync membership between the group and the site" - that hasn't happened so he's asking me to report it.

Perhaps the problem appears because of the import? Or perhaps the initial false start?

I'm going to next paste in the whole back and forth in case it helps.

Screenshot_2017-09-01_13-51-12.png (69.5 KB) Screenshot_2017-09-01_13-51-12.png Boone Gorges, 2017-09-01 02:53 PM

History

#1 Updated by Marilyn Weber almost 3 years ago

Read from the bottom up.

From: Anderst, Leah [mailto:]
Sent: Wednesday, August 30, 2017 11:51 AM
To: Weber, Marilyn <>
Subject: Re: (CAC Faculty Fellows) Re: Topic - Copying Sites/Groups?

Hi Marilyn,

I made the below change as far as uncoupling and coupling that Luke suggested and that worked. However, he's correct that the students who were already members of the group are still unable to post - it's as if they're not set as authors even though the settings I have in place would seem otherwise. Do you know if there's a way for them to be switched to authors without having to delete them all and have them re-enroll? There were two whose membership request I accepted after the change, and only those two have authoring capabilities.

Thanks,
Leah

Leah Anderst, PhD
Assistant Professor of English
Queensborough Community College
222-05 56th Avenue
Bayside, NY 11364
(718) 631-6292

http://www.qcc.cuny.edu/english/faculty/landerst/index.html

On Aug 29, 2017, at 6:41 PM, Waltzer, Luke wrote:

Hi Leah— not sure why, but the group looks like it’s coupled to the wrong site. You’ll need to uncouple it here — https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/admin/group-blog/ — then reload that page, click “Enable Group Site,” and select your fall course site from the drop down list. This will tie the group to the site.

You may then need to reimport the users to the group so that they’re added to the site… though, I’m not sure about that. I’m copying Marilyn Weber from the Commons Team, as I’m traveling now and may be slow to respond to additional questions.

Best,
Luke

--
Luke Waltzer, Ph.D.
Director, The Teaching and Learning Center
The Graduate Center, CUNY
365 Fifth Avenue, Room 3300.19
New York, NY 10016
http://cuny.is/teaching[cuny.is]

On Aug 29, 2017, at 5:42 PM, Anderst, Leah <> wrote:

Hi Luke,
I may have done something wrong in linking the blog and group, but my students are in the group and don't have access to the course site / blog. Can you help? Here's the Group: https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/
and here's the course page I want to be linked to it: https://qccdocumentaryfall2017.commons.gc.cuny.edu/

Currently when I click on site within the above group, it links to a shell site that I haven't done anything to.
Thanks,
Leah

Leah Anderst, PhD
Assistant Professor of English
Queensborough Community College, CUNY
222-05 56th Avenue
Bayside, NY 11364

________________________________
From: Anderst, Leah
Sent: Thursday, August 24, 2017 11:00 AM
To: Waltzer, Luke
Subject: Re: (CAC Faculty Fellows) Re: Topic - Copying Sites/Groups?

Thanks Luke! Looks good so far. It looks like the new course site is already coupled to the group. Or if it isn’t I don’t see how to couple it.
Best,
Leah

On Aug 24, 2017, at 8:34 AM, Waltzer, Luke <> wrote:

Leah,

I’ve cloned the site to https://qccdocumentaryfall2017.commons.gc.cuny.edu/. You should have admin access.

Please take a look and verify that all content and structure you need is there. None of your students should be members of the site, though their posts were copied over. You’ll need to delete or unpublish those to have a fresh start.

I have uncoupled your group from the Spring’s course site; you’ll need to attach it to the new site on this page: https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/admin/group-blog/. You can also decide whether you want to remove the Spring’s students (they’ll get notifications of activity on the new site).

This is the first time we’ve done this on a course site, so please let us know if there are any lingering issues!!

Best,
Luke

--
Luke Waltzer, Ph.D.
Director, The Teaching and Learning Center
The Graduate Center, CUNY
365 Fifth Avenue, Room 3300.19
New York, NY 10016
http://cuny.is/teaching[cuny.is]

On Aug 24, 2017, at 12:03 AM, Anderst, Leah <> wrote:

Hi Luke,

Great! Here’s the site now: https://anderstsp2017.commons.gc.cuny.edu/
Here’s the address I’d like for this semester: https://qccdocumentaryfall2017.commons.gc.cuny.edu/

Here also is the current group page: https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/
For the fall group, could you just swap out spring for fall?

Thanks so much,
Leah

#2 Updated by Boone Gorges almost 3 years ago

  • Category name set to Group Blogs
  • Status changed from New to Reporter Feedback

The "Enable member posting" checkbox, which syncs group membership to the site, only operates on new group memberships. When the group was decoupled and recoupled to a new site, this would've had no effect on members who are already in the group. (Any new group members will get a blog role corresponding to the settings at https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/admin/group-blog/.)

So, a few questions:

1. Does this sound like it explains what's happened here? Am I correct in my reading that the group-site linking took place after the group was populated with members?
2. Should I perform a bulk sync of memberships for this group? I can write a script that will perform a one-time retroactive membership sync for this group.
3. Should we change the current behavior? We could set the group-site role sync to be automatically retroactive - essentially forcing the corresponding roles from the Group > Manage > Group Site panel - but this comes with its own set of problems. (Say, if you upgrade one of your group members to a blog admin, that setting will be wiped out by the next sync.) Or, we could have a way for group admins to manually trigger a reset.

#3 Updated by Marilyn Weber almost 3 years ago

My answers to those questions are:

1) I believe so. Luke, can you verify?
2) That would be wonderful!
3) I defer to Matt. But the problem you anticipate - "if you upgrade one of your group members to a blog admin, that setting will be wiped out by the next sync" - seems to be a good reason why not to do it.

#4 Updated by Matt Gold almost 3 years ago

Thanks, Boone! I second Marilyn's agreement that #2 would be great. Thank you. The only question is whether new members who join after you sync will need to be manually added to the blog once you've run the one-time script.

As for #3, I think that offering a way for group admins to manually trigger a reset would be best. If it seems like this will only be an issue when groups are cloned, maybe we could build this step -- or at least a warning about the issue -- into that cloning process.

#5 Updated by Boone Gorges almost 3 years ago

OK, I'll work on some tool that allows admins to perform a "reset", with adequate warning that it will change any customizations to user roles on the site (I will try to find a way to explain it more clearly than this sentence).

I'll hold off on resetting this specific group until I get verification from Luke that I'm understanding the situation properly.

The only question is whether new members who join after you sync will need to be manually added to the blog once you've run the one-time script.

New members who join the group will get the role defined in the settings. This is what the 'Enable member posting' feature does: it fires only when a "group join" event takes place.

#6 Updated by Luke Waltzer almost 3 years ago

Yes, the group-site link was set up after the clone took place... this was the group for the Spring course; the linked site was cloned for the Fall course, and then tied to this group.

Happy to discuss a preferred workflow and reset tool for clones of sites with group relationships.

Thanks, all-

#7 Updated by Marilyn Weber almost 3 years ago

Was the bulk sync done? The site users are still different from the group members. Is this because they have to accept an invite?

#8 Updated by Boone Gorges almost 3 years ago

  • Status changed from Reporter Feedback to Assigned

No, the sync was not done. (Sorry, I am only mortal and need sleep!) I'll update this thread when it's done, which should be sometime today.

#9 Updated by Marilyn Weber almost 3 years ago

Ha! No problem, I hope you got some. Happy to be patient

#10 Updated by Luke Waltzer almost 3 years ago

Boone Gorges wrote:

I am only mortal

Disappointing, if true.

#11 Updated by Matt Gold almost 3 years ago

Boone Gorges wrote:

I am only mortal

#fakenews

#12 Updated by Boone Gorges almost 3 years ago

  • Target version set to 1.11.11

Disappointing, if true.

You've known me for long enough to expect disappointment.

All members of the group https://commons.gc.cuny.edu/groups/anderst-spring-2017-course-group/ have had their role on https://qccdocumentaryfall2017.commons.gc.cuny.edu/ set according to the group settings.

I'll work on wrapping this into something that can be triggered by an admin.

#13 Updated by Boone Gorges almost 3 years ago

Screenshot of the tool is attached. https://github.com/cuny-academic-commons/cac/commit/25f34deb2073057e091c6e1c0c8a085e7d1d5aa5

I also changed the intro text under 'Enable member posting' to draw attention to the 'new group members' part of things.

This admin page is a bit of a mess. I didn't want to hold up the introduction of this tool for a full rethink of the panel. So I've plopped it in where I think it makes sense.

Suggestions for improved wording are welcome. I'm going to ship with 1.11.11 but we can update text or positioning in subsequent releases. I'll leave this ticket open until I do the release later in case there's immediate feedback that can be incorporated.

#14 Updated by Boone Gorges almost 3 years ago

  • Status changed from Assigned to Resolved

This is up, so I'm marking resolved. Let's handle requests for improvements in other tickets linked to this one.

Also available in: Atom PDF