I have an application with users which have many attributes, some of which are public, and some are private by default, and can become public if the user chooses to do so.
How can I handle the fetching of private attributes? I mean, I want that, for instance, if I'll try to fetch all the user's attributes, I'll get all his public attributes, and some null-ish value for his private attributes (and not unauthorized error message).
I also want to somehow override this so the user will have no trouble to fetch all of his data.