Quote:
Originally Posted by McFlurry
New method of comparing access flag strings with a client's flag string(someone correct me if there's an easier way)
|
CheckCommandAccess is the proper way to handle that.
If it's tied to a "feature" rather than an actual command, just make up a command name and set the override_only var to true. The command name is what would be used in admin_overrides or for group overrides.
This would effectively eliminate the access cvars, let you keep the same defaults, and let people change using the existing admin api as well as allowing/respecting overrides.