summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2024-09-04 02:46:21 +0000
committer Yi-an Chen <theianchen@google.com> 2024-09-04 23:45:56 +0000
commit9263f255eec6b875c9fb5d022ba35aa2b940ffa4 (patch)
treeca5bfa1adb6e67bb67e9ebe2b44719f7b6fbc809 /api/api.go
parentb7faccdcef43ba8538d7c9b25550b34662f7a84f (diff)
Rename checkPrivilegedPermissionAllowlist()
Rename method checkPrivilegedPermissionAllowlist() to avoid confusions on understanding the code. We could also split this method into shouldCheckAllowlist() and checkAllowlist() to avoid the confusion. However, since we will always call these two methods together, it's cleaner to put these two together. Hence renamed this method to checkPrivilegedPermissionAllowlistIfNeeded(). Also added doc to explain the return values. Bug: 364435115 Test: Build Flag: DOCS_ONLY Change-Id: I8071b6860da4853c7a74e1d2daf1748ccb6cbd6e
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions