There are chances of misusing the functionality of buttons,In our case Detach button on the file need to hide from content authors.The issue are detaching the media file,but they forgot to attach again. because of this issue our media file URL's are throwing 404 errors.So finally we decided to hide the detach button from content authors.they can only see the attach and download on the file.With attach button they can achieve the detach functionality in a efficient way, like if they want to detach they need to attach
if you want to update the media file and to avoid the broken links simply use the Attach/detach functionality.so it's better instead of deleting the Whole file and remove the links,upload new file.
To Hide the Attach/detach buttons Switch to Core database and
ClickàAccess VieweràSecurity
EditoràAccountàselect User X/Role X then
navigate to the
path: /sitecore/system/Field types/System Types/Attachment/Menu/detach
àassignàDeny the Read access.It will look like below.so once the User X login to the sitecore navigate to the files(medialibrary,files) he will not see the Deatach button.his view looks like below.
Like above you can Hide the EditHtml button also on the path:/sitecore/system/Field types/Simple Types/Rich Text/Menu/Edit Html.
Some users publish the site by clicking the Publish--Publishsite button.if yoiu want to hide publish site button for specific users goto access Viewer for user "X" and navigate to below path on the security editor
/sitecore/content/Applications/Content Editor/Menues/Publish/Publish Site deny the read access.
final his view:
No comments:
Post a Comment