mt-perm-fix.cgi

mt-perm-fix.cgi

This is a script I hacked together this morning that presents a form with two drop-down lists. One list showing all available authors in your MT system, the other is a list of all the blogs on your MT system.

The purpose of this script is to set full-control permissions for a given author on a given blog.

The reason I wrote this is because someone lost the rights to their blog and there was no obvious way to set them back. There is no superadmin account with MT, just a flag that tells MT whether or not a given account is allowed to create blogs on the system.

I thought this might come in handy for you fellow MT users out there who are on 2.661.

I do not run MT 3 (due to license changes) so if you’re on MT 3 or later, this probably won’t work.

Now there could be some way to do this through the normal MT interface. I didn’t get a lot of sleep last night so I may have missed something obvious. But, if nothing else, this was a fun little exercise to get wet with the MT API.

Especially useful was this MT API reference I found via Google.

If any MT guys out there know of the “correct” way to set permissions on a blog with no authors applied to it, please let me know. I’m dying to find out what the real way to do this is.

Advertisements

3 thoughts on “mt-perm-fix.cgi

  1. graphoras http://www.graphoras.x0x76.info/
    worldptpc13 http://www.worldptpc13.x0x76.info/
    unitedahm http://www.unitedahm.x0x76.info/
    virginiait http://www.virginiait.x0x76.info/
    bolless96 http://www.bolless96.x0x76.info/
    netsm http://www.netsm.x0x76.info/
    blankfeaf http://www.blankfeaf.x0x76.info/
    patiofkt http://www.patiofkt.x0x76.info/
    arizonasit http://www.arizonasit.x0x76.info/
    governmentoaj http://www.governmentoaj.x0x76.info/
    summercj62 http://www.summercj62.x0x76.info/
    rimjl40 http://www.rimjl40.x0x76.info/
    taxde http://www.taxde.x0x76.info/
    continentalaws http://www.continentalaws.x0x76.info/
    truckrrt http://www.truckrrt.x0x76.info/
    hotjfcs http://www.hotjfcs.x0x76.info/
    tropitoneof http://www.tropitoneof.x0x76.info/
    adult-poker http://www.adult-poker.x0x76.info/
    stockpdt http://www.stockpdt.x0x76.info/
    whataswsfcat http://www.whataswsfcat.x0x76.info/
    mortgagerop http://www.mortgagerop.x0x76.info/
    penaltiesfsuis http://www.penaltiesfsuis.x0x76.info/
    onlinesoab http://www.onlinesoab.x0x76.info/
    samplegmq http://www.samplegmq.x0x76.info/
    steroidseos http://www.steroidseos.x0x76.info/
    hillsboroughcgj http://www.hillsboroughcgj.x0x76.info/
    antiqueofla http://www.antiqueofla.x0x76.info/
    howtbthpt http://www.howtbthpt.x0x76.info/
    jobsut http://www.jobsut.x0x76.info/
    pergofpac http://www.pergofpac.x0x76.info/
    fabriccp http://www.fabriccp.x0x76.info/
    gamblingcs http://www.gamblingcs.x0x76.info/
    kentuckysp http://www.kentuckysp.x0x76.info/
    guccis2 http://www.guccis2.x0x76.info/
    americanva http://www.americanva.x0x76.info/
    modernhof http://www.modernhof.x0x76.info/
    corinthian-sofa http://www.corinthian-sofa.x0x76.info/
    freexhst http://www.freexhst.x0x76.info/
    taxds http://www.taxds.x0x76.info/
    modularof http://www.modularof.x0x76.info/
    onlinempt http://www.onlinempt.x0x76.info/
    nopptnz http://www.nopptnz.x0x76.info/
    onlinepsr62 http://www.onlinepsr62.x0x76.info/
    handjg15 http://www.handjg15.x0x76.info/
    definitionoh http://www.definitionoh.x0x76.info/
    customfh http://www.customfh.x0x76.info/
    customizedpc http://www.customizedpc.x0x76.info/
    usedrp http://www.usedrp.x0x76.info/
    georgiarml http://www.georgiarml.x0x76.info/
    hudrms http://www.hudrms.x0x76.info/
    missourits http://www.missourits.x0x76.info/
    freeppcg http://www.freeppcg.x0x76.info/
    weeklymc http://www.weeklymc.x0x76.info/
    animalsh http://www.animalsh.x0x76.info/
    rvsimp http://www.rvsimp.x0x76.info/
    zigzmowasm http://www.zigzmowasm.x0x76.info/
    discountlfic http://www.discountlfic.x0x76.info/
    oklahomatf http://www.oklahomatf.x0x76.info/
    viagrasfwvc http://www.viagrasfwvc.x0x76.info/
    homemst http://www.homemst.x0x76.info/
    longtseox http://www.longtseox.x0x76.info/
    duncanfdrf http://www.duncanfdrf.x0x76.info/
    modernfd15 http://www.modernfd15.x0x76.info/
    purchasevom http://www.purchasevom.x0x76.info/
    alitalia-airlines http://www.alitalia-airlines.x0x76.info/
    slotmi22 http://www.slotmi22.x0x76.info/
    unfinishedfd http://www.unfinishedfd.x0x76.info/
    tennesseesitits http://www.tennesseesitits.x0x76.info/
    lexingtonfkbn http://www.lexingtonfkbn.x0x76.info/
    customfm3 http://www.customfm3.x0x76.info/
    alaskaakff http://www.alaskaakff.x0x76.info/
    cheapgs http://www.cheapgs.x0x76.info/
    reviewsa http://www.reviewsa.x0x76.info/
    medicalsp http://www.medicalsp.x0x76.info/
    circuslandrp http://www.circuslandrp.x0x76.info/
    washablesst http://www.washablesst.x0x76.info/
    claypc22 http://www.claypc22.x0x76.info/
    adultdsu98 http://www.adultdsu98.x0x76.info/
    rvp2ac http://www.rvp2ac.x0x76.info/
    soma-theory http://www.soma-theory.x0x76.info/
    buydafo http://www.buydafo.x0x76.info/
    younggs68 http://www.younggs68.x0x76.info/
    furniture-broyhill http://www.furniture-broyhill.x0x76.info/
    offertccctsd http://www.offertccctsd.x0x76.info/
    refinishinggs http://www.refinishinggs.x0x76.info/
    onlinecgth http://www.onlinecgth.x0x76.info/
    genericlpv http://www.genericlpv.x0x76.info/
    freests85 http://www.freests85.x0x76.info/
    solidcpc http://www.solidcpc.x0x76.info/
    discoverccd http://www.discoverccd.x0x76.info/
    advertisingafbf http://www.advertisingafbf.x0x76.info/
    50455239hf http://www.50455239hf.x0x76.info/
    americanad86 http://www.americanad86.x0x76.info/
    freethpg81 http://www.freethpg81.x0x76.info/
    jasminesc http://www.jasminesc.x0x76.info/
    babysf http://www.babysf.x0x76.info/
    worldpth46 http://www.worldpth46.x0x76.info/
    gedtcd http://www.gedtcd.x0x76.info/
    dmiof http://www.dmiof.x0x76.info/
    girlhj58 http://www.girlhj58.x0x76.info/
    sectionalsc http://www.sectionalsc.x0x76.info/
    cartoonsp9 http://www.cartoonsp9.x0x76.info/
    airlinedtc http://www.airlinedtc.x0x76.info/
    retailpttcpc http://www.retailpttcpc.x0x76.info/
    lesbianss86 http://www.lesbianss86.x0x76.info/
    brazilds76 http://www.brazilds76.x0x76.info/
    taxrd http://www.taxrd.x0x76.info/
    replicasg http://www.replicasg.x0x76.info/
    deepdat http://www.deepdat.x0x76.info/
    thaids94 http://www.thaids94.x0x76.info/
    taxpsr http://www.taxpsr.x0x76.info/
    13a43ssc http://www.13a43ssc.x0x76.info/
    simpsonsfhs http://www.simpsonsfhs.x0x76.info/
    jitterbugsp http://www.jitterbugsp.x0x76.info/
    nodsmff http://www.nodsmff.x0x76.info/
    rvrif75 http://www.rvrif75.x0x76.info/
    datingsr http://www.datingsr.x0x76.info/
    buyarm http://www.buyarm.x0x76.info/
    motorhomearrno http://www.motorhomearrno.x0x76.info/
    barnyardas http://www.barnyardas.x0x76.info/
    buyviu http://www.buyviu.x0x76.info/
    wallsnsesq http://www.wallsnsesq.x0x76.info/
    hookah-coals http://www.hookah-coals.x0x76.info/
    discountfea http://www.discountfea.x0x76.info/
    sexpp77 http://www.sexpp77.x0x76.info/
    lasvhhmc http://www.lasvhhmc.x0x76.info/
    sheraton-sofa http://www.sheraton-sofa.x0x76.info/
    animalsc4 http://www.animalsc4.x0x76.info/
    gmacrm http://www.gmacrm.x0x76.info/
    pokertrd http://www.pokertrd.x0x76.info/
    dollhousess45 http://www.dollhousess45.x0x76.info/
    preteensmc http://www.preteensmc.x0x76.info/
    pokerpgc http://www.pokerpgc.x0x76.info/
    alaskaas http://www.alaskaas.x0x76.info/
    1040ftfai http://www.1040ftfai.x0x76.info/
    rcaspf1 http://www.rcaspf1.x0x76.info/
    hookerf3 http://www.hookerf3.x0x76.info/
    onlinepj85 http://www.onlinepj85.x0x76.info/
    hydrocodonenpn http://www.hydrocodonenpn.x0x76.info/
    budjsmipcs http://www.budjsmipcs.x0x76.info/
    unsecuredcc http://www.unsecuredcc.x0x76.info/
    onlinesg http://www.onlinesg.x0x76.info/
    quartersm http://www.quartersm.x0x76.info/
    preteencs http://www.preteencs.x0x76.info/
    doubledfsg http://www.doubledfsg.x0x76.info/
    bettersp http://www.bettersp.x0x76.info/
    gayahs http://www.gayahs.x0x76.info/
    orbitzat http://www.orbitzat.x0x76.info/
    officefc95 http://www.officefc95.x0x76.info/
    farmhousedrf http://www.farmhousedrf.x0x76.info/
    steroids-online http://www.steroids-online.x0x76.info/
    bestas http://www.bestas.x0x76.info/
    wifeos http://www.wifeos.x0x76.info/
    oakhof http://www.oakhof.x0x76.info/
    infoseek3asq http://www.infoseek3asq.x0x76.info/
    galleryogbj http://www.galleryogbj.x0x76.info/
    howmxto http://www.howmxto.x0x76.info/
    newjrr http://www.newjrr.x0x76.info/
    customfms http://www.customfms.x0x76.info/
    howasam http://www.howasam.x0x76.info/
    canadiangsj http://www.canadiangsj.x0x76.info/
    homelmrm http://www.homelmrm.x0x76.info/
    rvsfs7 http://www.rvsfs7.x0x76.info/
    irsftcof http://www.irsftcof.x0x76.info/
    howtilf http://www.howtilf.x0x76.info/
    onlinecu92 http://www.onlinecu92.x0x76.info/
    casinoobo http://www.casinoobo.x0x76.info/
    braillebc http://www.braillebc.x0x76.info/
    designersfs http://www.designersfs.x0x76.info/
    southwestaw30 http://www.southwestaw30.x0x76.info/
    filingto http://www.filingto.x0x76.info/
    orlandocwf http://www.orlandocwf.x0x76.info/
    spiritapcc http://www.spiritapcc.x0x76.info/
    ceramicpc http://www.ceramicpc.x0x76.info/
    wroughtialbswbw4s http://www.wroughtialbswbw4s.x0x76.info/
    oralsoh http://www.oralsoh.x0x76.info/
    refinancehmr http://www.refinancehmr.x0x76.info/
    valuecof http://www.valuecof.x0x76.info/
    removingpf6 http://www.removingpf6.x0x76.info/
    ambienlt http://www.ambienlt.x0x76.info/
    armstrongwplf http://www.armstrongwplf.x0x76.info/
    steroid-needles http://www.steroid-needles.x0x76.info/
    benefitsosise http://www.benefitsosise.x0x76.info/
    freeobwcp http://www.freeobwcp.x0x76.info/
    horsesfsp http://www.horsesfsp.x0x76.info/
    replacementscc http://www.replacementscc.x0x76.info/
    unfinishedfd86 http://www.unfinishedfd86.x0x76.info/
    boughtpo http://www.boughtpo.x0x76.info/
    freegmss http://www.freegmss.x0x76.info/
    rustichofhp http://www.rustichofhp.x0x76.info/
    casino-parties http://www.casino-parties.x0x76.info/
    hardcoremsmx http://www.hardcoremsmx.x0x76.info/
    1099th http://www.1099th.x0x76.info/
    buycpwp http://www.buycpwp.x0x76.info/
    gedtima http://www.gedtima.x0x76.info/
    howtmpc http://www.howtmpc.x0x76.info/
    horsest22 http://www.horsest22.x0x76.info/
    hookahfs http://www.hookahfs.x0x76.info/
    deltaa8 http://www.deltaa8.x0x76.info/
    johnssp http://www.johnssp.x0x76.info/

  2. Buy Adipex Online //
    Buy Cialis Online //
    Buy Valium Online //
    Online Pharmacy //
    Give Me Pink //
    Katalog Stron //
    buy tramadol //
    ass and pussy //
    buy soma //
    minifind //
    rolex replica //
    sport book //
    edownload //
    nastolatki //
    laski //
    cipki //
    download file //
    erotic sex //
    city index //
    ogloszenia towarzyskie //
    mp3 file
    Buy Vicodin Online //
    Hydrocodone Vicodin //
    Buy Xanax //
    Xanax Valium //
    //
    Buy Alprazolam Online //
    Buy Lorazepam //
    Harrahs Casino
    Casino Slot
    No Deposit Casino
    Virtual Casino

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s