Page MenuHomePhabricator

[web] hide danger zone if usingCommServicesAccessToken
ClosedPublic

Authored by varun on Mon, Jun 3, 1:29 PM.
Tags
None
Referenced Files
F2177166: D12291.id40970.diff
Wed, Jul 3, 6:38 AM
F2176980: D12291.id40900.diff
Wed, Jul 3, 6:09 AM
Unknown Object (File)
Mon, Jul 1, 6:43 AM
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
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage