Try our conversational search powered by Generative AI!

Workroom "Guest" can edit documents

A "Guest" user of a workroom can edit and upload documents in the workroom. As a guest, I would expect read-only access.
May 19, 2005 12:30
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; }
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.