Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Edit users, even administrators

Asked Modified Viewed 1,699 times
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
asked
Member

Hi

In version 6 when you went to user administration and user icon, you saw administrators/group members first and then a long list with all other site users. That was really good because a lot of times I need to be able to set new passwords etc even for administrators. It can even happen that I want to ban an administrator if the person gets out of control. No matter what I need to do, it was good that the ability was there.

In version 7 the administrators disappear from the user list and I cannot find a way of editing those. All I can edit is their administration rights.

Is this a "bug" or is it meant to be this way...if the latter is the case, may I ask why? :)
Edited by mojkan on 28-07-2008 18:08,
0 replies

4 posts

M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

It is meant to be that way. Editing administrators could be abused to hijack sensible rights like panel or custom pages admin. however, we are discussing alternatives in the dev team
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

How about you guys incorporate this (it's VERY uncomplete code, but you should get the idea):


if (iSUPERADMIN && [i]other security stuff[/i] && $userdata['user_id'] == "1"){
  // allow edits of all admins
}
elseif (iSUPERADMIN && [i]other security stuff[/i] && $userdata['user_id'] != "1"){
  // allow edits of regular admins
else{
  // disable allow of all admins
}

The beauty of this code (in it's finished product :P ) is that it really gives superadmins significant power over admins. I don't know of many instances of this, except rank. Also, it's VERY easily configured - if you want another user to be able to edit whichever users, you would just add their rank, the other security stuff and their user_id.

Edit: remember, I haven't looked at the code for the user editing page one time yet. You'll have to incorporate this code yourself in whatever way works if you decide to use it.
Edited by googlebot on 28-07-2008 19:40,
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Member

Ok, thanks for the answer. As long as I as a superadministrator at my own site have the controll over "my employees" I will be satisfied no matter how it's done :)
0 replies
A
alcazar
A
Alcazar
nach Diktat spazierengegangen
  • Senior Member, joined since
  • Contributed 247 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

Look also in -> this thread.
Wooya and the Master himself answered it.
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

M
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
A
A
Alcazar
nach Diktat spazierengegangen
  • Senior Member, joined since
  • Contributed 247 posts on the community forums.
  • Started 5 threads in the forums
M
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
G
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet