Page MenuHomePhabricator

[web] hide danger zone if usingCommServicesAccessToken
ClosedPublic

Authored by varun on Mon, Jun 3, 1:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 1:29 PM
Unknown Object (File)
Thu, Jun 27, 11:25 AM
Unknown Object (File)
Thu, Jun 27, 11:02 AM
Unknown Object (File)
Wed, Jun 26, 10:11 PM
Unknown Object (File)
Wed, Jun 26, 9:09 AM
Unknown Object (File)
Tue, Jun 25, 2:05 PM
Unknown Object (File)
Tue, Jun 25, 10:04 AM
Unknown Object (File)
Tue, Jun 25, 10:04 AM
Subscribers

Details

Summary

A user may delete their Comm account using their primary device. Their primary device cannot be a web device at this time, so we should just hide the Danger Zone from web users

Test Plan

Ran web with usingCSAT = true and confirmed that the Danger Zone doesn't appear in the settings list. If a user still somehow navigates to settings/danger-zone/, the component will be null so the delete account button will not appear.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable