I'm using a flatfiles to assign a permissions to players:
players.json - for the players and parents.json for the parents (aka group of some permissions)
When I'm getting the permissions property of this Player object (steamid `76561197983153964`) it's returning an empty dictionary.
Command, created with this decorator is reading the player permissions well though, allowing him to perform a comand:
Code: Select all
@TypedClientCommand('some_command', 'some_permissions.my')
Is it a bug/unfinised feature or there's just another way to get all the parent-inherited permissions of this player?
The content of my flatfiles
players.json:
Code: Select all
{
"76561197983153964": {
"parents": [
"someparent"
]
}
}
parents.json
Code: Select all
{
"someparent": {
"permissions": [
"some_permissions.my"
]
}
}