summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Nikhil Kumar <nykkumar@google.com> 2023-08-07 16:08:47 +0100
committer Nikhil Kumar <nykkumar@google.com> 2023-08-10 14:15:50 +0100
commite6fa48fc21c73fd367cc912d209b404654a02b68 (patch)
tree55fa7978c99ec928c83eaf4e93500451af8ee30a /api/api.go
parent39863d79ded8b359d1461f8f39546589b53284d3 (diff)
Remove default Calls and SMS restrictions from the MAIN user.
Main user is a secondary user and in turns enherit the restriction of DISALLOW_OUTGOING_CALLS and DISALLOW_SMS. Refactored the user creation flow to ignore applying these restrictions if the user being created is a MAIN user. Bug: 294821532 Test: atest UserManagerTest#testMainUser_hasNoCallsOrSMSRestrictions -c Change-Id: I7b2baa80c86400a1cb64dfcf12c4c93faa15b556
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions