After having a deeper understanding of Metalnx, I think this might be the easiest way to fix this issue. The java controller will now pass along a new attribute 'permissionType' and template page will do the conditional rendering job.
If a user has write permission or above (owner), action dropdown menu will be available.
After having a deeper understanding of Metalnx, I think this might be the easiest way to fix this issue. The java controller will now pass along a new attribute 'permissionType' and template page will do the conditional rendering job.
If a user has write permission or above (owner), action dropdown menu will be available.![image](https://user-images.githubusercontent.com/33065086/127918163-6d3ab460-eb76-49d7-a642-a8206c53817c.png)
If not, it won't render.![image](https://user-images.githubusercontent.com/33065086/127918113-756e9a42-52fd-4c6b-8d7d-e9414e18129b.png)