Skip to main content
1 of 5

Thanks @Marek, your suggestion got worked out.

Here is the custom logic to restrict the access to specific role:

public class DeviceEditorForm : Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm

{
    protected override void OnLoad(EventArgs e)
    {
        Assert.ArgumentNotNull(e, "e");
        base.OnLoad(e);
        if (!Context.ClientPage.IsEvent && Sitecore.Context.User.IsInRole(ContentAuthor))
        {
            Layout.Visible = false;
            Placeholders.Visible = false;
        }
    }
}