Limiting access based on work items type

Is there any way in EWM to provide access to only certain type of work items? We have 2 types of users in EWM - internal and external. We want internal users to see all work items in the project area whereas external employees should be able to see only only one type of workitem (ex. Requirement). Is this possible to achieve this in EWM?
One answer

- Create a team area named "Internal User" to add internal users to this team area.
- Add Category named "Internal User", and associate team "Internal User" and click the checkbox "Restrict Work Item Access"
3. In your "Internal Work Item", add a attribute type of "Category".4. Add a script so that when you create an "internal workitem type", the category attribute is set automatically.
dojo.provide("com.SecurityLevel.ValueProvider");(function() {dojo.declare("com.SecurityLevel.ValueProvider", null, {getValue: function(attribute, workItem, configuration) {var workitem_type = workitem.getValue("workItemType")if (workitem_type === "Your Internal Workitem Type ID"){return "_NP31QdedEe6HPtzjzaR8jQ"; // This is your "Internal User" Category ID.}else{return workItem.getValue(attribute);}}});})();