cancel
Showing results for 
Search instead for 
Did you mean: 

Become Site Manager stopped working

martek01
Champ in-the-making
Champ in-the-making
When I login as administrator and go to the site manager and attempt to "Become Site Manager" it no longer works.  Only the site creator can make changes to the site.  I'm almost sure that it worked after I first installed.  Can anyone help me recover this ability, please?

Thanks,
EVans Martin

Alfresco Share v5.1.f
(r125711-b6, Aikau 1.0.63, Spring Surf 5.1.f, Spring WebScripts 6.5, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)
Alfresco Community v5.1.0
(r127059-b7) schema 10001
8 REPLIES 8

jpotts
World-Class Innovator
World-Class Innovator
I cannot recreate this problem using 5.1.e or 5.1.f.

Making someone a manager of a site is simply a matter of adding that user to the Site_SITE-ID_Manager group. So if you cannot get that action to work, go into groups, make sure "Show System Groups" is checked, find the Manager group for the site in question, and add the admin user to the group.

Jeff

martek01
Champ in-the-making
Champ in-the-making

Thank you.  That's what I have been doing but it's certainly not optimal.  I wold love to figure out how to fix the other.

ddraper
World-Class Innovator
World-Class Innovator

Have you made any changes or customizations since installing? It seems unlikely that this capability would have stopped working without any changes being made. 

martek01
Champ in-the-making
Champ in-the-making

I must have but don't even know where to start looking for what may have changed it.

ddraper
World-Class Innovator
World-Class Innovator

Are you saying you're not sure if you have made any customizations? If that's the case then it's unlikely that you've changed any code or written extensions, and I can't imagine that you've made any configuration changes that could stop this from working suddenly. Are you getting any errors reported? Either in the server logs or on your browser console when you're trying to become site manager (for example is a REST API call returning in error?)... are you actually seeing XHR requests made when you perform the action? That's where I'd initially look to start investigating the issue.

martek01
Champ in-the-making
Champ in-the-making

If it's not obvious where I need to go to correct this, is is possible to automatically add a list of members to the site manager group upon creation of every site?

That's not something you can do out of the box, but one option you could try is to add a rule to the Sites folder to run a custom script every time you create a site and then in that script (which you'll need to write) add the appropriate users to the group Jeff Potts​ mentions above.

You can accomplish this by adding a behavior policy (onCreate or onUpdate) of site node. You just have to be careful in figuring out when exactly are the Site Groups created and then decide whether to use onCreate or onUpdate.