Mani basic auth
|
mani_basic_auth is an AuthorizationService provider that ships with EventScripts. It reads the clients.txt file from Mani and translates it to capabilities which are used for authorization. [edit] Overviewmani_basic_auth is very similar to basic_auth in that any player designated as admin has access to all unique addon permissions with the default level of admin or below. In addition, mani_basic_auth imports the flags designated to users in your ./cfg/mani_admin_plugin/clients.txt and registers those flags as permissions with the prefix "mani_flag_" -- such that the a flag translates to the permission mani_flag_a, the pban flag translates to the permission mani_flag_pban, etc. Addon authors can check the flag permissions in their addons if they want to support Mani flags. Any player with the mani_flag_admin permission is considered an admin to mani_basic_auth. [edit] UsageTo load mani_basic_auth put the following at the beginning of your autoexec.cfg: es_load examples/auth/mani_basic_auth [edit] See Also
|
