Permission

Server functions that are in some way related to the permission aspects.

local rank = Wosa.User.Permission.Get(
    user --[[ int ]]
)

--[[

Parameters:
-> user: The PlayerID of the user.

Description:
Get the current permission level aka rank of the user.

]]
Wosa.User.Permission.Set(
    user, --[[ int ]]
    rank --[[ string ]]
)

--[[

Parameters:
-> user: The PlayerID of the user.
-> rank: The rank you want the user to get.

Description:
Give/change a users permission level within the framework. This WILL cause some
serious issues if you do not set a "valid" rank from the rank config.

]]

Last updated

Was this helpful?