Workroom "Guest" can edit documents

Vote:
 
A "Guest" user of a workroom can edit and upload documents in the workroom. As a guest, I would expect read-only access.
#17379
Mar 25, 2008 19:32
Vote:
 
Hello! This is a known issue in EPiServer 4.50 that can be fixed by replacing the following method in /templates/Workroom/Templates/Units/CreateWorkroom.ascx.cs with this code: private void CreateDocumentDirectory(Workroom workroom) { string newWorkroomName = WorkroomName.Text; string newDirectoryName = newWorkroomName; int i = 0; while(FileRoot.GetSubdirectory(newDirectoryName) != null) newDirectoryName = newWorkroomName + (++i).ToString(); UnifiedDirectory newDir = FileRoot.CreateSubdirectory(newDirectoryName); newDir.ACL.IsInherited = false; newDir.ACL.Clear(); newDir.ACL.Save(); workroom.FileRoot = newDir.Path; }
#18097
Mar 25, 2008 19:42