Class UserProfilePreferenceProvider

java.lang.Object
com.kingsrook.qqq.backend.core.actions.profile.UserProfilePreferenceProvider
All Implemented Interfaces:
UserPreferenceProviderInterface

public class UserProfilePreferenceProvider extends Object implements UserPreferenceProviderInterface
Preferences provider of the core "profile" section (photo, display name and, when the app allows it, Gravatar). Always the signed-in user's own row. The avatar field reads as the photo's URL and is written with a ref from POST /uploads (or null to remove the photo). The hidden, read-only avatarUrl is what others see: the photo, else the chosen Gravatar, else null. Writing a value equal to the current URL changes nothing, so a client may send the whole form back.