PermissionProviderUtils
This item only works when running on the server. Server
Utility functions to provide/configure a permission. See BasePermissionProvider and PermissionService.
Functions
createGroupRankConfig
PermissionProviderUtils.
createGroupRankConfig
(
config:
{
groupId:
number
,
minAdminRequiredRank:
number
,
minCreatorRequiredRank:
number
}
) →
table
Creates a group rank config
createSingleUserConfig
PermissionProviderUtils.
createSingleUserConfig
(
config:
{
userId:
number
}
) →
table
Creates a single user config
createConfigFromGame
PermissionProviderUtils.
createConfigFromGame
(
) →
table
Creates an automatic configuration from the game.