Unfortunately there is no way to put a filter to show app action only to a content's owners or group's owners.
I had one way in my apps (which I wanted to display only to group admins).
I displayed the app link to everyone.
But when a non admin tries to open an app, I had this logic which could detect if current user is owner of the group.
If no, I would show a message that app cannot be accessed and also display list of group admins who have permissions for the app.
There is a new config in cloud where you can display app to a specific security group. But when it comes to group admins or content owners, there is no filter for that.
Thanks for your response Pawan.
I have implemented the logic to find out if the viewer is an editor of the content or not when the app is opened and it works fine(just the way you mentioned in your response). Though our requirement is to not show the app action link in first place if the viewer is not an author/editor.
We had similar requirement for some of our group admin apps.
We wanted to display them on the group nav bar.
But there was no way to hide it for others.
So I had to use this logic.
You can check if the User is the main Author of the Content with the following App Action path filter:
However, this does not cover all users which have permissions to change the content. Thanks.