I mean is there any pimcore helpers to fetch the logged in user apiKey in ExtJS.
Talking about my usecase, i extended the dataobjects and added CSV import functionality in Objects relation (see image)
After the user uploads the csv file, it will send a ajax request to the endpoint, the responsible controller will find the dataobjects (if found) and passes back. So, i want to check whether the user has necessary roles and permission for the objects or not.
Do you think it is necessary to check for the permission ? If yes, How do you suggest that i should proceed ?