News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Super Admin

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

Previous topic - Next topic

Road Rash Jr.

So you admit there are underlining functions which are not documented in the description you directed me to.
I'm sorry, I wasn't aware you are the only one who understands your source code. Strangely I understand them fine.
I'm not trying to give you a hard time here, I just see no point in a mod that duplicates functions already built in and available to the forum owner/admin to properly regulate who has what powers to assist in the day to day operations of the forum.
So unless there is something special that isn't documented, and isn't appearant in the code this mod is redundant and in my opinion gives people a false sense of security.

Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Hj Ahmad Rasyid Hj Ismail

Quote from: Oya on September 20, 2010, 03:12:48 PM
Quote from: ahrasis on September 20, 2010, 01:36:12 PM
I like this mod idea but will this mod works in RC3? I really hope that there is a function or mod to create another admin with lesser power and not the same with the main (super) admin.

how about using permissions and not giving admin permissions to ppl u dont trust

Permissions? How do we adjust permissions for the newly appointed admin? Can we really do this with this mod? How I wish it can be done...  :-\

Oya

why cant u just create a new group called admin and give tehm all permissions

they cant remove ppl from teh real admin group nor can they ban anyone or delete anyone in the real admin group

Hj Ahmad Rasyid Hj Ismail

There is no such option.

YogiBear

Hmm, if you give them all permissions then they'll be able to moderate membergroups and delete whom they please including the admin.
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Oya

sigh

did u actually try it

create a new group
give them all permissions
create a test member in this group
then try removing admin from urself
u CANT it wont let u!

smf protects ppl in grp 1 from anything, u have to be grp 1 to assign grp 1 to another user, or be grp 1 to remove someone from it
try it

Road Rash Jr.

Quote from: Oya on September 21, 2010, 09:05:47 AM
sigh

did u actually try it

create a new group
give them all permissions
create a test member in this group
then try removing admin from urself
u CANT it wont let u!

smf protects ppl in grp 1 from anything, u have to be grp 1 to assign grp 1 to another user, or be grp 1 to remove someone from it
try it

That's exactly my point. I have a group called "Admin Assistant" or you can use the default "Global Moderator", go to permissions for that group to adjust their level of authority and you as the number 1 Admin do not loose control over the forum. It's alll built in and a mod isn't required.
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Road Rash Jr.

Quote from: YogiBear on September 21, 2010, 08:34:58 AM
Hmm, if you give them all permissions then they'll be able to moderate membergroups and delete whom they please including the admin.

If you assign a member to Admin yeah they have equal authority to the forum owner and that is not a good thing.
Just create a group called "Admin Assistant" or use the "Global Moderator" and set permissions as needed. Number 1 Admin doesn't loose control and the assistant can do anything EXCEPT remove the number 1 Admin.
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Oya

Quoteassistant can do anything EXCEPT remove the number 1 Admin.

cant make people into that group either

YogiBear

#329
Quote from: Oya on September 21, 2010, 09:05:47 AM
sigh
did u actually try it
create a new group
give them all permissions
create a test member in this group
then try removing admin from urself
u CANT it wont let u!
smf protects ppl in grp 1 from anything, u have to be grp 1 to assign grp 1 to another user, or be grp 1 to remove someone from it
try it


Oya, could you please stop using SMS and use plain English? That way more folk will be able to understand you and remember for many here English is not their native tongue. Also, for someone relatively new, a little humility would not go amiss. Thanks.


Back to topic : one reason for some folk wanting this mod is because it can help eliminate the possibility of Admin #1 accidentally deleting himself! Yes, I know about the workarounds but prevention is better than cure and if an author is prepared to make a mod then this should be encouraged.

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

Road Rash Jr.

@ YogiBear
QuoteBack to topic : one reason for some folk wanting this mod is because it can help eliminate the possibility of Admin #1 accidentally deleting himself!

True, no one wants to be in the situation where they accidently delete the Admin #1.
From my experience with SMF2.0 RC3 of which I am the admin of 15 working on 20 forums in various configurations of stock to moderatly and heavly modified, I have been unable to delibertately delete the # 1 admin.
That being said, I conclude it is not possible to do so with a stock SMF2.0 RC3. But concede it could be possible if some mod has altered something in the code to allow this to happen though I have not been able to reproduce this on any of my modified forums.
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Oya

Quotea little humility would not go amiss

I'd likely be more humble if I didn't have to say the same thing two or three times before people listened.

Hj Ahmad Rasyid Hj Ismail

So far that I know all permissions that are available by default is not (all) the administrator's permissions at all. That is the maximum global moderator's permissions only. May be I am wrong (and do enlighten me), but I know administrator can do more and the permissions are not available to be modify for newly created admin.

Oya

Giving admin permissions, including "administrate the forum" does not give those users a true admin role.

Group 1 still has special rules applied, notably that users have to be in group to assign others to group 1, have to be in group 1 to remove from group 1, and so on. Users in group 1 will always have every permission, while the same will not be true for those who just have everything ticked, since there is a separate check in allowedTo() for group 1.

You could always try it, of course.

Hj Ahmad Rasyid Hj Ismail

I surely have tried and there is no options to reduce permissions of newly appointed admin. If we are creating a new group the most that the group will have is all the permissions of a global moderator group.

I wish to have a control over a newly appointed admin like whether they can install or remove all or certain packages etc.

Oya

1. Create a new group.
2. Go into General Permissions. I'll assume you're using the Simple layout in 2.0 at this point.
3. Under "Carry out administrative duties", tick "Administrate forum and database"

The little help icon even says:
QuoteThis permission allows a user to:

* change forum, database and theme settings
* manage packages
* use the forum and database maintenance tools
* view the error and mod logs

Use this permission with caution, as it is very powerful.

It does not give them full admin powers, however, because they still cannot override what a true administrator does.

What more power do you want to give (or not give) than that?

Hj Ahmad Rasyid Hj Ismail

Thanks anyway but I know all that already. I need a more specific control for each and everything for a newly appointed admin i.e. what they are allowed or not allowed to do. The available one is too general.

YogiBear

That could be a case for Mod Requests as it goes beyond the aims of Super Admin although something I could well find handy in the future.

Some other points recently raised have already been covered earlier in this thread. I too can think of workarounds to some mods on the site - one of which I posted a while ago under Feedback & Discussion so as not to hijack a thread - but if an author is prepared to put in the work to make it easier for other members, particularly beginners, then this is something to be encouraged. Johnny B, the original author, left to join the armed forces and Sabre has very kindly taken this on.
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Hj Ahmad Rasyid Hj Ismail

I think of new mod request or just features request here. I prefer this mod is upgraded to do my wish.  :P But, if the answer is no, may be I'll ask for a new mod (or find a way to create one).

qubbah


Advertisement: