Raised This Month: $51 Target: $400
 12% 

Denying access on default-open command strings?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nosoop
Veteran Member
Join Date: Aug 2014
Old 03-25-2022 , 02:08   Denying access on default-open command strings?
Reply With Quote #1

One of the projects I wrote allows end-users to specify a custom command string in a configuration entry to restrict access to specific options.

The plugin is designed such that the default behavior for a new command string is to fail open on unknown overrides, with the intent that server operators would explicitly deny access, then remove those custom command overrides to remove restrictions (keeping the command string in the configuration entry).

Is there a way to, without modifying the plugin itself, deny access to every user (possibly including root) by default? It looks like setting a broad flag-based override in admin_overrides.cfg stomps a specific granular "allow" override in admin_groups.cfg (so you can't restrict to root and include group-specific allowances), and I'm not sure what other options there are.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 03-25-2022 at 17:48. Reason: change topic title so it's clearly a question
nosoop is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode