OC-Tsuki/ksrc/acl.lua

21 lines
312 B
Lua
Raw Normal View History

2020-06-02 16:23:58 +10:00
local acl = {}
do
local acl = struct({
meta = "B",
id = "H"
})
local function acl_readstream(stream)
local a = acl(stream:read(#acl))
local perm = stream:read(a.meta & 0x3f)
local
end
function acl.read(stream, dperm, gid, uid)
end
function _acl:get_effective_perm(id, group, perm)
end
end