Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scality/cloudserver
/ permissionChecks.js
File
permissionChecks.js
tests/unit/api/apiUtils/permissionChecks.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
assert = require(
'assert'
);
2
3
const
{ isLifecycleSession, checkBucketPolicyResult, checkBucketPolicy,
4
isBucketAuthorized, isObjAuthorized, evaluateBucketPolicyWithIAM } =
Callers
nothing calls this directly
Calls
9
isLifecycleSession
Function · 0.85
checkBucketPolicy
Function · 0.85
makeBucket
Function · 0.85
isBucketAuthorized
Function · 0.85
makeObjectMD
Function · 0.85
isObjAuthorized
Function · 0.85
evaluateBucketPolicyWithIAM
Function · 0.85
makeRequest
Function · 0.70
makeAuthInfo
Function · 0.70
Tested by
no test coverage detected