mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Merge branch 'feature/auth' into feature/standalone
This commit is contained in:
commit
6a6ba42d7c
2 changed files with 8 additions and 0 deletions
|
@ -38,4 +38,8 @@ function acl.isallowed(clientId, permission)
|
|||
return 1
|
||||
end
|
||||
|
||||
function acl.getlevel(clientId)
|
||||
-- returns level for client
|
||||
end
|
||||
|
||||
return acl
|
||||
|
|
|
@ -111,4 +111,8 @@ function shrubbot.isallowed(clientId, permission)
|
|||
return et.G_shrubbot_permission(clientId, flags[permission])
|
||||
end
|
||||
|
||||
function shrubbot.getlevel(clientId)
|
||||
return et.G_shrubbot_level(clientId)
|
||||
end
|
||||
|
||||
return shrubbot
|
||||
|
|
Loading…
Reference in a new issue