News:

Join the Facebook Fan Page.

Main Menu

Super Admin

Started by Bulakbol, August 04, 2008, 06:44:30 PM

Previous topic - Next topic

Sabre™

If I recall correct, there was a problem with the package I attached in which other admins could edit admin1's details, everything else worked fine.
I haven't looked at it since then, as I'm only ever the only admin so it doesn't bother me, but without re-writing anything or searching for the 'perfect' string, I suppose a rough hack would do the job.
Possibly one string would do it, or even one string in a couple places to be extra saucy.
Just how to handle it is the problem, do we want attempts to be shown in the error log? do we want only a "not authorised" message to display? Or should we just remove all visual access to admin 1's 'back room'?
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


YogiBear

QuoteJust how to handle it is the problem, do we want attempts to be shown in the error log? do we want only a "not authorised" message to display? Or should we just remove all visual access to admin 1's 'back room'?

Any of those should be fine...

QuoteOr should we just remove all visual access to admin 1's 'back room'?

...probably the easiest?
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Robbo_

From what I remember this mod was just... 'wrong' with some things it did. If I ever get time I will make a new one with similar functionality. (that's a BIG if)
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Sabre™

I'd look forward to that if you do Robbo.
Out of curiosity, what did you think was wrong with the mod? Function, code etc ?
Off hand all I recall it doing is setting board(s) to admin1 only editable boards, and the spy mode hiding you from certain areas.
Oh, and the fact that you could not be deleted. All which I find useful if desired.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Robbo_

Well, if I remember correctly, it would make the member with the ID of 1 the super admin. That is very wrong. If it doesn't then... well it isn't wrong.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Sabre™

Yeah it does.
u=1 is the person which created the site, so is "usually" the owner, so imo, should be the super admin. no?
Being the owner of the site, why would it be wrong to disallow other admins from deleting you?
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


YogiBear

Quote from: Sabre™ on May 25, 2010, 07:54:27 AM
...
Off hand all I recall it doing is setting board(s) to admin1 only editable boards, and the spy mode hiding you from certain areas.
Oh, and the fact that you could not be deleted. All which I find useful if desired.

The problem with the later mod was it was still possible for another admin to change the membership status of admin #1 (invariably the forum owner).

The original mod worked fine on RC2 but needs updating to work on RC3.
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Sabre™

Yeah, we're not chatting about that package, but the original mod.
Rob doesn't agree with its function
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


YogiBear

Hmm, odd that, Sabre, cos the primary function of the original mod was to protect admin #1 though I believe it can be recoded before installation if admin #1 is no longer the forum owner.
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Robbo_

My problem is, that it should not have to be re-coded. And that having only one 'super admin' is a big limitation. It should give the person who installs the mod the option to select who is the super admin and allow for more then one.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

YogiBear

I see a potential problem there, Robbo. Supposing an admin other than the forum owner were to install the mod and set it for themselves thus effectively hijacking the forum from its owner.
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Sabre™

Quote from: YogiBear on May 25, 2010, 09:26:01 AM
I see a potential problem there, Robbo. Supposing an admin other than the forum owner were to install the mod and set it for themselves thus effectively hijacking the forum from its owner.
Yeah that could be a problem, but as long as you have access to your db, they are only being set to be punished. ;)

I guess I don't see the point of multiple super admins, as Im the only owner to my ventures, unless I hand the reigns over to another.
But then I usually have db access anyway, so even an account isn't important.

Quote from: Robbo_ on May 25, 2010, 09:10:40 AM
It should give the person who installs the mod the option to select who is the super admin and allow for more then one.
"Too many chiefs, not enough Indians" comes to mind lol ;)
If you need multiple accounts protected by this mod, then you need to re-evaluate the people of power on your site. Trust..
I see it as a 'fun' mod, rather than a necessary one. My opinion only of course :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


YogiBear

I see the biggest plus point of this mod is to guard against accidents. Before I owned my own gaff I worked as an admin on another site and one day almost deleted myself instead of sending a PM.  :o

OK, so now I have access to a db but Super Admin would make life so much easier.  :)
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Robbo_

That problem currently exists. And I can't think of any way to bypass it. Actually I can think of one, make it so the super admin has to be set after mod installation by modifying a file after. Although, if someone can install a mod then they can do anything they want to the site anyway.

If you gave me admin to your site and I wanted to take it down I could make a package that would drop all your tables and delete every file in your forums in a matter of minutes.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Robbo_

That post was meant to reply to two posts earlier ^^

I don't have use for this mod. The only reason I even know about it is for a client. This client will need it for RC3 so I will probably make a version public for you when I port it. I can see this kind of thing useful but only when it is done by default on forum installation.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

YogiBear

Thanks, Robbo.

Put it this way, guys, if it works the same/as well as the original I'll be a happy Bear.  :)
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

YogiBear

**Bear puts head around door to see if any progress**  ::)
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

YogiBear

*Bear camps out on thread.*


::)

SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

diamondred123

ok is anyone going to make it work on 2.0 RC3?
are you:
Quote from: Robbo_ on May 25, 2010, 09:46:36 AM
That post was meant to reply to two posts earlier ^^

I don't have use for this mod. The only reason I even know about it is for a client. This client will need it for RC3 so I will probably make a version public for you when I port it. I can see this kind of thing useful but only when it is done by default on forum installation.

if so when will it be done as i really need it

Thanks
Learner but knows a little

Robbo_

probably within the next couple of weeks
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Advertisement: