cancel
Showing results for 
Search instead for 
Did you mean: 

Managing Permissions in WCM Module

nicolas_belisle
Champ in-the-making
Champ in-the-making
The need : we want to be able to restrict some portions of a Web site in the WCM to specific groups/users.

1. Is it possible to activate the "Manage Content/Space Users" action for content stored in the WCM ? If not, is this feature part of your planning?

2. Also, I tried changing the permissions on a Web form, but after, when I try to access the Web forms for a WCM project, I get a NPE.

Regards,

Nicolas
10 REPLIES 10

kvc
Champ in-the-making
Champ in-the-making
Yes, we are looking into permissions support in the web client for files and folders within a web project.  We do not yet have a definitive plan here yet, but recognize this as a high priority fix that we need to expedite a solution for ASAP.

We will keep you posted on any updates on the roadmap page on our wiki.

Kevin

nicolas_belisle
Champ in-the-making
Champ in-the-making
Thanks for the information Kevin.

Regards,

Nicolas

samuel_penn
Champ in-the-making
Champ in-the-making
Has any progress been made in this area? I haven't seen anything obvious related to this in the roadmap or release notes for 3.0.

Failing that, are there any suggested (development) workarounds for this? We do have a requirement for restricting which forms a user is allowed to use, and where in the website they are permitted to use them.

Thanks,
Sam.

janv
Employee
Employee
FYI, this has now been exposed in Labs 3b (in the JSF client, via new "Manage Permissions" icon) for early preview, testing and feedback.

Regards,
Jan

samuel_penn
Champ in-the-making
Champ in-the-making
Great, thanks. I'm currently downloading, so I can preview, test and hopefully give some feedback 🙂

Sam.

samuel_penn
Champ in-the-making
Champ in-the-making
Initially it looks good, though it doesn't handle the issue of permissions per form yet. If I try a workaround of changing the permissions on a web form to restrict access, then it throws an exception when a user tries to list the forms for the site. I would assume that it would be relatively easy fix to check permissions when listing forms and not list them (rather than throwing an exception), which would be a good workaround for this. It's not ideal since you'd really want it on a per web project basis, but it would be a good start.

On testing the per-folder permissioning however, it doesn't quite seem to work. Firstly, if I create a folder as admin, then when I view it in the admin's sandbox, it appears as being created by admin and modified by admin. When I view it in the sandbox for Alice, I see it as being created/modified by Alice. This seems wrong (I only noticed this after the steps below, so it may be correct initially).

But that's not all…

I created the 'adminonly' folder as admin, and gave only admin read/write permission, unticking 'inherit permissions'. I also create a 'test' folder and left the permissions alone. Publishing the changes, Alice could then see only the 'test' folder in her sandbox. So far, so good.

I then changed the 'adminonly' folder to have read permissions for everyone, published the changes and Alice could now see it. The Delete/Manage Permissions icons were not available on this folder for her however - much as expected. Going into the folder as Alice, I created some content, which it allowed me to do. Surely Alice shouldn't be able to do this, since she has only read access to the folder?

Next, I notice that Alice can now see the Delete/Manage icons on the 'adminonly' folder, and was able to remove the Administrators permissions to write to the folder. The folder in both sandboxes is now in a state where Everyone has write access to the folder, which can't be removed (there're no icons to allow this in the permissions list), though 'inherit permissions' is unticked.

I'm going to see if I can replicate exactly what is going on, but something seems to be not quite right.

Sam.

pmonks
Star Contributor
Star Contributor
The issue with errors when a Web Form has ACLs applied is a known issue - see https://issues.alfresco.com/jira/browse/ALFCOM-224.

Cheers,
Peter

adrianpj
Champ in-the-making
Champ in-the-making
Hi,

   What is the status of interest in developing permission management in WCM?

   Maybe it is already implemented/patched in Enterprise Edition… or if it is not the case, is there any planning to release a stable permission management in a near future?

   Thanks in advance,

Adrian

samuel_penn
Champ in-the-making
Champ in-the-making
It looks like shared folders now pay more attention to permissions than they used to. i.e., previously users had the same permission in shared folders as they did in the main project. Since 3.1 (or maybe earlier), it looks like users require permissions in the project the folder is being shared from, in order to be able to access it. We discovered this when lots of exceptions were thrown after upgrading to 3.1 whenever a user tried to submit content, since they didn't have read access to a shared folder in the root of the web project (so error handling could be improved in some regards).

There's still no real folder based permission model for WCM in 3.1E however.

Sam.