I have one requirement where i want to display one workflow in one specific folder but not in another folder. Can it be done by permission matrix or will this require any js changes.
Check if the following helps -
Managing Access to Workflows
How To Restrict Access To Workflow Models For A User Or Group
How to assign permissions on workflow-models