We have a requirement to restrict users of a Group from viewing Output file generated by Direct Mail. For this I created a custom named right -> mapped it against the group I want to restrict and tried leveraging HasNamedRight and properties visibleIf (to completely mask it) and enabledIf (to disable it). However, it doesn't seem to be work.
I understand there is a OOTB Named Right "File Access", which can serve our purpose. But we don't want to go with this.
Kindly please help on how can we achieve it (or) a reference of similar thing if it was done for same (or) different purpose would be helpful
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @Ssb_94 ,
You can do some change in your 'nms:operation' input form i.e to modify the properties of Campaign Dashboard. Make the file visible to operators who has NamedRight='xyz' and invisible to rest other operators.
Hi @Jyoti_Yadav ,
Couldn't understand, are you saying to change in nms:operation form ? Unfortunately I couldn't see anything related to Delivery or File
Is it something like I need to handle this in Dashboard.jssp?
I can't be sure as I never look at modifying the dashboard however it's most likely the one to look at. Also, make sure you make a copy of the JSSP and keep it safe prior doing any modification. It might be useful during future upgrade.... You could then try to use HasNamedRight in there to remove the visibility of the output file.
Thanks a lot
I went through the nms:delivery.jssp and found a piece of code where it is creating a clickable link to view file content.
I was trying out to apply condition if user not authorized to view the file, then link should not be created. So far no luck
Actually we don't want to change any OOTB JS / JSSP Implementation instead trying to handle in alternative way. Any other suggestions, please help
Thanks for your help