cancel
Showing results for 
Search instead for 
Did you mean: 

Separating users and sites

boin
Champ in-the-making
Champ in-the-making
Here's the deal.

Company X is going to use Alfresco but wants to know what it can do.

3 departments (named X, Y and Z)
Each department has 4 subdepartments (named X:1 X:2 X:3 X:4 Y:1 Y:2 etc etc)

For each department I created a site (12 in total)
The subdepartments are created as private the departments as public (with Moderated site membership activated)

Employee's login and request access to sites. If they belong to subdepartment Y:2 they can also be granted access as contributor to the department Y site.

So far so good.

Then I looked at the users who have access to the sites and I every site had a EVERYONE with reading rights.
So for all subdepartments I deleted this user.
After that (and I don't know if this is causing it) strange things happen:

A site manager can add a wiki page but is not able to delete or edit it.
Deleting gives: Could not delete page
Editing gives: 00070035 Wrapped Exception (with status template): 00070386 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/wiki/page.put.json.js': 00070385 Access Denied. You do not have the appropriate permissions to perform this operation.

Clicking on Blog gives: An error occurred when retrieving the blog posts
Adding a blog and using publish internally gives: Unable to save the blog post
Same for internally and externally

As a user clicks on the repository button they get: 00070040 Wrapped Exception (with status template): 00070410 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 00070409 Access Denied. You do not have the appropriate permissions to perform this operation.

Where did I go wrong….

Boin
2 REPLIES 2

pre
Champ in-the-making
Champ in-the-making
I have the same issue. Some user (maybe have the Manager role) is able to create a wiki page and to save the page appropriately. In the same session the user wants to edit that page and save the changes. He get the same answer:

03120048 Wrapped Exception (with status template): 0312881750 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/wiki/page.put.json.js': 0312881749 Access Denied. You do not have the appropriate permissions to perform this operation.

Only the owner of the dashboard site is allowed to edit and save changes!

I'm using CE 3.4.d (update from 3.4.a). If I trying a clean roll out of the box (bundle install), that behavior does not occur, but I'm not able to import my MySQL database + alf_data repository accordingly - I get errors of missing node IDs.
(Not to mention of course, that my backup 3.4.a is working correctly!!!!)

I think, that the SQL-patches during the first start of the new version are erroneous. Is the a way to correct that?

Help is much appreciated!

pre
Champ in-the-making
Champ in-the-making
I've found the problem. Obviously the user EVERYONE has to have access to the SITE repository. I do not really understand, why that should be ….. but it works now.

pre