cancel
Showing results for 
Search instead for 
Did you mean: 

Sites permission issues after upgrade from 3.4.a to 3.4.b

jocke
Champ in-the-making
Champ in-the-making
Hi,

After I upgrade from 3.4.a to 3.4.b I cannot delete my old or newly created share sites anymore.

The error message in share when I try to delete a site:
”site could not be deleted”

And I get an exception in alfresco.log that says:

“16:16:23,432 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 10290001 Wrapped Exception (with status template): 10290004 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/site.delete.js': 10290003 Access Denied.  You do not have the appropriate permissions to perform this operation.
org.springframework.extensions.webscripts.WebScriptException: 10290001 Wrapped Exception (with status template): 10290004 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/site.delete.js': 10290003 Access Denied.  You do not have the appropriate permissions to perform this operation.
”

This only happends for me in 3.4.b, everything seems to be fine regarding this in 3.4.a.

Anyone able to help or have any ideas?
1 REPLY 1

icrew
Champ in-the-making
Champ in-the-making
Well, I discovered one way to cause this error today on EE 3.3.4:

1) Regular user "User1" creates a site
2) User1 uploads a document to that site
3) User1 changes some descriptive metadata on the file (in my case, changing the title and description) and saves those files
4) User1 invites a user with admin privileges, "Admin1" to join that site with the role of consumer
5) Admin1 accepts the invitation and connects to the site
6) Admin1 then leaves a comment on the document that User1 uploaded.
7) User1 then leaves a comment of his own in response to Admin1.
😎 User1 can no longer delete the site, and gets the error you refer to.

I'm not 100% sure if all 8 steps are necessary, but I do know that steps 3 and 6 are critical.

I've submitted it as bug–see http://issues.alfresco.com/jira/browse/ALF-7083

Hope this helps,

Ian