Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c7a7913a authored by Nathan Harold's avatar Nathan Harold
Browse files

Allow canPackageManageGroup for new groups

-canPackageManageGroup currently blows up (IAE) when it is
 invoked on a group that doesn't yet exist. Since the carrier
 config API method of managing groups doesn't distinguish
 between creation and updating, and since there is no
 security reason to prevent management of a nonexistent
 group, update this function to allow packages to pass the
 canManage check for nonexistent groups.

-For addSubscriptionsToGroup() apply a separate check
 to disallow adding subscriptions to a nonexistent
 group via the API (preserving current behavior).

Bug: 133442394
Test: atest SubscriptionControllerTest
Change-Id: I08600b85c6410fbbce140937132456e22291bf37
parent 69715225
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment