News:

Wondering if this will always be free?  See why free is better.

Main Menu

Restrict Admin access

Started by hcfwesker, August 20, 2010, 08:04:30 PM

Previous topic - Next topic

hcfwesker

Very strange request, but after moving from proboards to SMF, this option is not available.

i'm on SMF 1.1.11

I can explain why this is needed, if I have to, but this is what i'm looking for.

I need to make it to where I can restrict a member from seeing certain boards , even if they're in the admin group. ( modify board does not have an admin membergroup listed) Is there any way an if statement, or member ID code can do this.

Or is there any other possible work around for this?

Oranos

#1
I take it you want a certain member have admin privileges, but still be restricted.

Go to Admin > Members > Membergroups > Add Membergroup

Name it whatever you like, then chose the boards you don't want this guy to see etc. For permissions, chose "by type:" and in the drop down select "Maintenance" Now add that group, go into that person's profile, and assign him to that group, making sure to remove him for the actual administrator group. Now go to

Admin > Members > Permissions

Click on Modify for the new group you added and add/remove the permissions as you see fit. By default, the "Maintenance" membergroup will have a more restricted version of admin permissions.

hcfwesker

thank you so much for replying, and giving me hope of the possibility.

I'll have to give it a couple trial runs. 

now the important question ... I am the head admin (member #3, actually, but in the actual Administrator group), can this also be done to myself?  there are 4 boards I need to not even see on the homepage.


Oranos

Well..you would have to remove your own admin access, in place of a membergroup that isn't able to see those boards. Although I can't imagine why the head admin would need to not see a board =/

Also, a problem with that is that once you remove your admin membergroup in place of the restricted one, you won't probably won't be able to change yourself back (unless you give yourself that permission, though it would kind of defeat the purpose, or by manually changing it in phpmyadmin)

Leto Atreides II

On some of my forums, I change the name of the 'Administrator' membergroup to 'Chief Administrator', then make a new group called 'Administrator' which has every permission checked. For all practical purposes they're Admins, except that unlike the original Admin group (now Chief Administrators), they can be excluded from viewing some boards.

hcfwesker

Both of those have crossed my mind, but there's one slight problem.   There are certain permissions that are select to "admin only" and can't be modified by any other group  ( example, custom profiles -- some of my custom profile sections are set to Admin only)  :(

There's no way to edit in Administartor in the Manage boards file, to uncheck, and that wouldn't work, i'm assuming?

Leto Atreides II

Quote from: hcfwesker on August 20, 2010, 11:41:09 PM
There's no way to edit in Administartor in the Manage boards file, to uncheck, and that wouldn't work, i'm assuming?
I'm sure someone could whip up some kind of code to accomplish something like that, but good heavens, why bother? Why not simply refrain from viewing these boards on your own honor?

JimM

It sounds like you are wanting to customize instead of just using the extensive SMF permission system.  There are some good suggestions in this topic.   The Mod Site has a number of modifications that enhance these permissions.  Feel free to search there for what you are looking for.  If you don't find it we have several boards where you might post a request for help on customizing.  First take a look at the Mod Requests and then possibly the Help Wanted (not for support) .
Jim "JimM" Moore
Former Support Specialist

Advertisement: