Skip to content

User Profile - Disable private profiles

Zack Cuddy requested to merge 421310_02-user-private-profiles-disabled into master

What does this MR do and why?

Part 2 of 2 for #421310
Docs will be updated in a follow up MR to keep this MR focused on implementation
Behind a feature flag disallow_private_profiles

This change implements the designs proposed in the above linked issue. The admin settings were implemented in a previous MR and this MR is only focused on the User Profile side of the feature.

For Premium+ customers they will now have the ability to disallow users from creating private profiles on their instance. When this setting is enabled it will disable the checkbox on user's profile settings page, making it no longer possible for them to make their profile private if the instance admin does not want them to.

Screenshots or screen recordings

Description Video
EE when private profiles are disabled EE_-_Disabled
EE when private profiles are enabled or feature isn't available (No change) EE_-_Not_Disabled
CE (No change) CE

How to set up and validate locally

  1. License your GDK to Premium+
  2. Enable feature flag disallow_private_profiles
  3. Go to Admin -> Settings -> General
  4. Expand Account and limit (2nd collapsable) and scroll to the bottom section of that panel
  5. Disable or Enable Allow users to make their profiles private checkbox and save
  6. Important: Sometimes when toggling settings in the GDK there is a delay, restarting your GDK here may help
  7. Impersonate a non-admin user
  8. Click your profile image in the sidebar and click Edit profile
  9. Scroll to bottom and find Private profile section
  10. Ensure the checkbox either works or is disabled with a popover on the lock icon depending on the setting you chose in the admin
Edited by Zack Cuddy

Merge request reports