summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Anthony Alridge <anthonyalridge@google.com> 2023-12-13 13:13:17 +0000
committer Anthony Alridge <anthonyalridge@google.com> 2024-02-13 14:20:56 +0000
commit02e6474e8567bb12fb5440760e5ab13de17a6108 (patch)
treee63e1db463fefcb4b39a614b335e7f19d7358b68 /api/api.go
parent328556ac9e94e7439a5833693142941c96098a31 (diff)
APIs to download and delete eSIM for admins
Updates the documenation of the download and delete APIs to reflect the ability for enterprise admins to manage eSIMs. Also, adds a mechanism in subscription info to track if a sim is "owned" by an admin. This can be used across the system to determine what actions a user can perform on the sim (e.g. by default, users cannot delete esims). A separate user restriction (disallow_unmanaged_sims_globally) is being introduced in a separate cl to block the user from adding sims. Once merged, the permission check in downloadSubscription can be extended to only allow the download if the admin holds the MANAGE_DEVICE_POLICY_MOBILE_NETWORKS permission, thus blocking download for all but admins. Bug: 293456669 Test: btest android.devicepolicy.cts.EmbeddedSubscriptionTest API-Coverage-Bug: 322944132 Change-Id: Id228b9ac1e1a63a519c06e7b104262ba48532373
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions