This endpoint will be used to display exiting link. In near future we will need an endpoint that returns all the links - it will reuse most of the logic from this endpoint.
Details
Details
Call the endpoint and check if all the primary links were returned.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think this is a bit vulnerable, we fetch all the links to the client - which means if the user is not part of a given community can get possession of the invite link and join the community when I think only members of the community should invite others. Fetching invite links to communities in which the user is a part will help.
Not a huge deal but I think worth improving.
Comment Actions
Return only the invitations where a user is a member. Tested this by creating a new
community with a primary link - the endpoint doesn't return its link.