I am trying to do an initial setup when the installed event is triggered. I want the links to the add-on to be visible to a certain set of users (specifically project leads).
My idea is to add an entity property to the project leads and by that the add-on link will become visible. (I am using atlassian-connect-spring-boot) Unfortunately I am not able to add the property to the user - getting 401, in atlassian-connect.json I have requested for the Write permission). To me it seems that the installed event does not have the user details available who installed the add-on and therefore is not allowed to make the request - am I correct?
Do you have any other recommendations how to achieve the same result, limiting the visibility of the links to project leads only?