I have a requirement to show user list inside the lightning component. Its working fine for all the users except users with "Chatter Only" license. For Chatter-only license, whenever they access that lightning component, they are getting "Insufficient Permission error". I tried removing "With Sharing" keyword from the class which uses SOQL to retrieve users list. But still, I am getting the same error.
If Chatter-only license can't access user object, then please let me know which all licenses can access user object from apex.