November Happy Hour will be moved to Thursday December 5th.

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
May 19, 2005 12:30
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
May 24, 2005 17:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.