Minimum Authority Generator
Moderator: sinewav
Minimum Authority Generator
I wrote a handy utility for tournaments. Just copy the player list from your event on the wiki, paste it into the form, and it will strip out the Global IDs, outputting them into a nicely formatted list for easy inclusion. If you've ever had to make this list by hand, you know what a time-saver this is.
Note: There are still some small issues, but I'm not worried about it since most users will want to double-check the output and make minor adjustments anyway.
ArmagetronAd: Minimum Authority Generator
Also, thanks to kyle for finding a few bugs.
Note: There are still some small issues, but I'm not worried about it since most users will want to double-check the output and make minor adjustments anyway.
ArmagetronAd: Minimum Authority Generator
Also, thanks to kyle for finding a few bugs.
Re: Minimum Authority Generator
Version 2
What started as some superficial formatting changes turned into a major overhaul, predictably. The utility now has a confirmation stage which allows you to make changes/corrections. After this, the file is written to the server and you can either save it locally or use the server as your resource for RINCLUDE'ing.
Edit: Oh, you can also make Z-Man admin for your event with a simple click.
What started as some superficial formatting changes turned into a major overhaul, predictably. The utility now has a confirmation stage which allows you to make changes/corrections. After this, the file is written to the server and you can either save it locally or use the server as your resource for RINCLUDE'ing.
Edit: Oh, you can also make Z-Man admin for your event with a simple click.
Re: Minimum Authority Generator
the "click to love sine" button is gone
- INW
- Reverse Outside Corner Grinder
- Posts: 1950
- Joined: Tue Jul 07, 2009 4:10 pm
- Location: Charlotte, NC, USA
Re: Minimum Authority Generator
Please put it back; we all want to love sine.Word wrote:the "click to love sine" button is gone
And yes, I like the new version.
Very well done.
Now it won't take me 3 hours to create the authority list for the War Sumo Tournaments.
Re: Minimum Authority Generator
Good idea and good work (assuming it works)
I obviously haven't tested it but it should be very useful.
great :D
I obviously haven't tested it but it should be very useful.
great :D
Re: Minimum Authority Generator
As I slowly catch up on projects I have restored some of this tool's functionality. Several months ago I moved some directories but never updated the relevant code. That is now fixed. Authority files can again be hosted at adventuresoftron.com. I know this tool is obsoleted by dlh's generator and tournament organizers rarely have a problem hosting cfg's, but hey, here it is if anyone needs this in an emergency.
Re: Minimum Authority Generator
NEW FUNCTION
The MinAuth Generator now automatically creates an AUTHORITY_WHITELIST to be included at the beginning of the configuration file. In the future I might make this an optional feature, but for now I think it is just as easy to edit it out in the confirmation stage as clicking a checkbox beforehand.
The MinAuth Generator now automatically creates an AUTHORITY_WHITELIST to be included at the beginning of the configuration file. In the future I might make this an optional feature, but for now I think it is just as easy to edit it out in the confirmation stage as clicking a checkbox beforehand.
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: Minimum Authority Generator
You should consider adding 'ct' as well as 'ct/jedi' when adding authorities to the whitelist for 'kyle@ct/jedi'.
Re: Minimum Authority Generator
@ct would automatically allow all @ct/xxxx, right? If that is the case I'll definitely change it so the list is more succinct. But which is most secure?epsy wrote:You should consider adding 'ct' as well as 'ct/jedi' when adding authorities to the whitelist for 'kyle@ct/jedi'.
Re: Minimum Authority Generator
UPDATE: I edited the white-list generation to include upper directories only. The output will have @ct and never @ct/xxxx. I believe this is the preferred way because it is the only way auth works? I also cleaned up the regex because my code was really, really bad. This tool is one of the first things I've ever written so my pattern was all herp-derp. And while I was at it I came across this awesome site for php regex stuff: PHP Live Regex
wow, cool.
wow, cool.
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: Minimum Authority Generator
You should leave both in. It is possible that the authority allows you to send a request for user@domain/directory directly.
Re: Minimum Authority Generator
Got it! Fixed, and thanks espy.