Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OptimalBits/node_acl
/ makeArray
Function
makeArray
lib/acl.js:817–819 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
815
//-----------------------------------------------------------------------------
816
817
function
makeArray(arr){
818
return
Array.isArray(arr) ? arr : [arr];
819
}
820
821
function
allowsBucket(role){
822
return
'allows_'
+role;
Callers
1
acl.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected