Wouldn’t she have to get JR’s and anybody else permission that was depicted in the movie
Yes, of course. When using either someone's name or likeness (so it would be likeness in this case since it's clearly about JR and his family) the movie maker would need every person depicted in the movie to "sign off" (give written consent). Making a movie without getting the people depicted to sign off will result in the people who refused to sign off on the movie to get an injunction preventing the movie from being released and may additionally result in them having to at damages. So the best case scenario for Sue Ellen is she spent millions of dollars making a movie she can't ever release. Worst case scenario is Sue Ellen not only loses the millions of dollars she spent on making a movie that can't be released but she also has to pay millions in damages and loses custody of John Ross for making and attempting to release a movie for the sole purpose of embarrassing her son's family.
BTW, the scene with JR and Ratigan trying to find the movie would not happen. JR has no need to find the movie. He issues an injunction preventing the movie from being released and gets a judge to demand sue Ellen turn over the film to the court for safe keeping, just in case she should try to disobey the court's injunction and try to release it anyway. Of course, if she did that then she'd also be exposing herself to the threat of jail time.
All in all it was about what you would expect from Sue Ellen - when she gets angry she hurts herself worse than the person she's angry with. Case in point: Her drinking damaged her health, put her baby in danger and damaged her reputation - not JR's reputation or his health. Then her affair with Cliff which resulted in her having a baby whom she didn't know which man was the father, resulting in an embarrassing paternity claim from Cliff exposing her as na adulteress. Then there was her refusal to leave Southfork because, as she explains, she has "earned" the right to live in the home of a man she can't stand (rather than divorce JR, move somewhere she doesn't have to be around him and would be free to marry someone who might make her happy). Cliff eventually wisened up and tried to teach her revenge is a waste of time but some people just aren't teachable.