Advertisement:

Author Topic: Odd Administrator Permissions value  (Read 478 times)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Odd Administrator Permissions value
« on: February 04, 2018, 08:11:31 AM »
i'm not sure how to best track down why this is happening so any help would be appreciated:

Code: [Select]
Name               Member    Permissions Modify
Administrator (?) 5       1

Note the "1" instead of "(all)"
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,818
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Odd Administrator Permissions value
« Reply #1 on: February 04, 2018, 11:34:57 PM »
Do you have any idea when that appeared? What might have changed around then?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Odd Administrator Permissions value
« Reply #2 on: February 04, 2018, 11:53:52 PM »
i wish i knew but it's not impacting anything.

i assume a permission got in there - the one i thought, i removed but no luck.

just a mystery right now

I know that i should check the database but don't know where the permissions are stored - i guess i should put in the effort and review the source and look into the DB but if i can take a shortcut, then all the better.

If it's too time consuming then i will work it out myself - which mod stuck something where it shouldn't have ?!

so all good if you guys are too busy.
« Last Edit: February 05, 2018, 12:20:19 AM by aegersz »
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 52,363
Re: Odd Administrator Permissions value
« Reply #3 on: February 05, 2018, 05:09:03 AM »
have you recently installed a mod? i wonder if one or more mods set permissions incorrectly and caused this.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Odd Administrator Permissions value
« Reply #4 on: February 05, 2018, 05:15:17 AM »
not really but i'm always messing around with mods.

it may even be a remnant of an earlier version of one also.

what tables hold the permissions in the DB ? can you divulge that ? i will poke around tonight anyway.

i love an innocuous mystery  ::)
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,818
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Odd Administrator Permissions value
« Reply #5 on: February 05, 2018, 05:36:21 AM »
smf_permissions hold the membergroup specific permissions.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Odd Administrator Permissions value
« Reply #6 on: February 05, 2018, 06:24:48 AM »
now i feel silly ! sorry to waste your time there.

but lots of thanks ! will let you know what i find.
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Odd Administrator Permissions value
« Reply #7 on: February 05, 2018, 07:57:49 AM »
aha ! it's from the "OS & Browser Detection" mod that i uninstalled but probably didn't delete the DB data.

problem solved.

thanks for your help, i was, as usual, looking for a complexity that wasn't there
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here