Skip to content

Commit

Permalink
Merge branch 'feature/auth' into feature/standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Smit committed Aug 29, 2016
2 parents a02f933 + dfa2533 commit 6a6ba42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions luascripts/auth/acl.lua
Expand Up @@ -38,4 +38,8 @@ function acl.isallowed(clientId, permission)
return 1
end

function acl.getlevel(clientId)
-- returns level for client
end

return acl
4 changes: 4 additions & 0 deletions luascripts/auth/shrubbot.lua
Expand Up @@ -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

0 comments on commit 6a6ba42

Please sign in to comment.