In order to retrieve a list of user accesses, you can run this API call on the frontend:
tp.api.callApi("/access/list", {}, function(response) {console.log(response)});
The response will contain a list of the accesses the user has. You can then implement your own logic to for example show or hide specific content on your website, based on access data this API call returns.