Hide Knowledge Article 'Edit' Button

craigclarke
Mega Contributor

The 'Edit' button on the top right of a Knowledge Article is causing confusion.   It seems enabled for ALL users if they have the ability to edit articles in that KB.

Why would a user who is not the author or KB owner be able to edit an article (they already can comment/flag)??

Does anyone know how to only enable this button for the author and KB owner?

find_real_file.png

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

You nailed it Craig. If you have access to edit articles in that KB, then you have access to that button. By default, it does not restrict people to their own articles.



If you choose to modify the UI macro as Deepa suggests, keep in mind that you are modifying an OOB UI macro and it will not be updated in future upgrades. Once you modify it, you own it.


View solution in original post

8 REPLIES 8

Hi Craig,



Yes, if you simply de-activate the UI macro, then it will continue to get updated. The trick is going to be getting your copy in to the UI page. That requires you to modify the UI page which then puts you in the same situation for that record.


How to hide the edit article option from the employee center portal?

 

emilyswanger
Tera Contributor

I don't agree with this functionality. It negates the process by which knowledge is approved and published. If we have checks and balances in place for publishing why not for editing? We have established a process (with good reason) for editing published articles. This prevents users from editing an article with no justification or reason. This is a knowledge base AND not a wiki. 

jrusso
Tera Expert

I know this post is several years old, but I am only recently running into the same issue.  We only recently went to the delivered page and now see the edit button on the portal.  It appears that everyone who can contribute to the HR Knowledge base has the ability to use the Edit button to update any article.  Currently, we are using instant publish and do not have article versioning activated, so this is a concern, as the change won't be sent to anyone else for approval.

Is the only option to modify the ui macro kb_view_common_header_toolbar that Deepa mentions?  If we change the Can Contribute user criteria to limit it to only users with a certain role, would that solve my issue?  Our general population can not see the edit button, but I also don't need every HR user to have the ability to edit any article.