UserExtended
UserExtended copied to clipboard
Add settings for security and privacy
Add settings for encrypting:
- Comments
- Profile content
These settings should default to false for app speed and backwards compatability
Add user settings for privacy:
- Can others comment? Friend, Anyone, Myself
- Can other view profile? Friend, Anyone, Myself
- Can others find me in seach? Friend, Anyone, Myself
- More to come soon
For these settings, use an octal encoding. Each digit has a possible 8 states which corresponds to Friend, Anyone, Myself and leaves room for more options in the future. Then, this can be stored as an integer in the DB.
Built the seeder for adding user dynamic settings fields for this