how do i give a user admin panel access without moderator privilges?
posted this over at vb.com; and no definitive help so far...
http://www.vbulletin.com/forum/showthread.php?t=191930
i have a couple users who help out with some technical stuff and overall forum maintainance, but they are not moderators or admins.
i do not want to give them access to towing/locking/editing threads, etc...
but i do want to give them access to specific portions of the admin panel.
...i know how to adjust admin privliges, but i can't even get the users to the point of getting admin privliges!!!
i put them in an entire new usergroup with the option set to "can access control panel (i.e. administrator)" and that still hasn't solved this.
posts so far:
Quote:
Originally Posted by LeftCoastBias
ok before i do something REALLY horrible...
can i actually set administrator privliges lower than moderator privliges?
i have basically two admins, myself and my head staff member- but we're both in other user groups; but currently, the admin user group has access to do EVERYTHING.
...can i set that so the members can be "additional members" of that user group and essentially only give them access to what i want in the panel, and no moderation abilities on the forum?
...in theory it sounds like it will work.
|
Quote:
Originally Posted by slappy
This is not something available in the default settings of vbulletin and, probably, would be a topic more appropriately posted at vbulletin.org, since that is where code modification questions are generally posted.
By default, if you give someone access to the admincp they can do anything any other administrator can do except edit the "administrator permissions". This "permission" is set by a line in the config.php file, but this doesn't help you create a sub-class of administrator, with some, but not all admin powers.
You might be able to create a new usergroup which has access to the admincp, but lessor powers than an admin, and make their permissions non-editable in the admincp, except by userid=#1, like administrators themselves.
Regards,
|
Quote:
Quote:
Originally Posted by slappy
This is not something available in the default settings of vbulletin and, probably, would be a topic more appropriately posted at vbulletin.org, since that is where code modification questions are generally posted.
By default, if you give someone access to the admincp they can do anything any other administrator can do except edit the "administrator permissions". This "permission" is set by a line in the config.php file, but this doesn't help you create a sub-class of administrator, with some, but not all admin powers.
You might be able to create a new usergroup which has access to the admincp, but lessor powers than an admin, and make their permissions non-editable in the admincp, except by userid=#1, like administrators themselves.
Regards,
|
thats what i want to do, i want to give another usergroup limited access...
but i can't figure out how to ?
|
Quote:
Originally Posted by slappy
Like I said, you have to create a usergroup which has admincp access, but does not have those other permissions you don't want them to have and you also have to create a new condition in the config.php file which will, like admin permissions only be changeable by those userids listed in the config.php file.
The problem is you not only have to stop them from having access to permissions up the ladder, you have to stop them from acquiring permissions of moderators. In other words, you have to prevent them from changing their permissions at all, and I can't think of any way of doing that, other than through something like how they prevent anyone not listed in the config.php file from changing Administrator permissions. However they did that, is how you have to prevent this new group from changing their permissions.
[EDIT] And you still have the problem that you would have to prevent them from having permission to upload a new config.php file. But if you can't trust these people, they probably shouldn't be in your adminCP anyway.
Again, vBulletin.org is the place to ask for this code modification.
Regards,
|
Quote:
Originally Posted by LeftCoastBias
ok this doesnt make sense... i have 2 users in the same user group (i moved one of my mods into that new user group)... the mod has admin panel access
but the other doesn't
|
Quote:
Quote:
Originally Posted by slappy
Like I said, you have to create a usergroup which has admincp access, but does not have those other permissions you don't want them to have and you also have to create a new condition in the config.php file which will, like admin permissions only be changeable by those userids listed in the config.php file.
The problem is you not only have to stop them from having access to permissions up the ladder, you have to stop them from acquiring permissions of moderators. In other words, you have to prevent them from changing their permissions at all, and I can't think of any way of doing that, other than through something like how they prevent anyone not listed in the config.php file from changing Administrator permissions. However they did that, is how you have to prevent this new group from changing their permissions.
Again, vBulletin.org is the place to ask for this code modification.
Regards,
|
no thats' not right.
only "super administrators" can change admin permission, and that has to be given to users in the config.php file.
which is covered in vb.com and the manual, vb.org isn't neccessary for this quest.
|
Quote:
Quote:
Originally Posted by slappy
In the Administrators' Permission tab in the Usergroups section of the AdminCp you can click on the tab and, if you are not in the config.php listing, you will see this warning:
Sorry, you are not allowed to edit administrator permissions.
If you think you should have permission to access this page, you will need to edit the $config['SpecialUsers']['superadministrators'] variable in the includes/config.php file.
To allow the administrators to access this page, edit the variable to include the user IDs of those administrators should have access, separating each user ID with a comma, like this:
$config['SpecialUsers']['superadministrators'] = '1,25,57';
To allow only a single administrator to access this page, simply add that user's ID with no commas, like this:
$config['SpecialUsers']['superadministrators'] = '1';
But, like I said, this doesn't prevent them from adding themselves to the Moderators Usergroup and acquiring those permissions.
Regards,
|
i just added him to the moderators user group and STILL can't give him those permissions.
i even made him the moderator of one of our forums (for troubleshooting) and STILL can't change his settings.
|
|