diff options
| author | 2023-09-21 00:03:14 +0000 | |
|---|---|---|
| committer | 2023-09-21 00:15:43 +0000 | |
| commit | 6a7f37264755e226c8dc9a933a04b15078a9439a (patch) | |
| tree | 8e8a23d73cae79eaaaf8b5e60a6387521fd5ec09 /api/api.go | |
| parent | 7bee98d7ebd630e45f0c3ab1ea53b7533bfafb94 (diff) | |
Add missing permission checks for adding permission listeners.
They were in the old PermissionManagerServiceImpl but missing in
ag/20684040. The new subsystem is only enabled in V+ so we can just fix
it directly.
Also added the permission check for removing despite that the old method
was only enforcing not instant app, because the removing API is
annotated with requiring the permission, and anyone currently able to
add will still remain able to remove since it's the same permission.
Bug: 263504888
Test: presubmit
Change-Id: Ie5688abdbc4d9039c3f7c42f3d253e69f7cc899d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions