You want create a user that can handle other admin users? Remove, alter permissions , add
Em sábado, 1 de outubro de 2016 05:56:11 UTC-3, Joe Barnhart escreveu: > > Still looking for a reply for this message! C'mon, it's only > been...what... 2-1/2 years?? Seriously. I was just looking at this again > and thought to myself, "I remember asking that on web2py-user... I wonder > if I missed the response?" Turns out I didn't! > > -- Joe > > > On Thursday, April 17, 2014 at 12:26:11 AM UTC-7, Joe Barnhart wrote: >> >> I find I need the "impersonate" feature for a website I'm building -- it >> is the perfect solution to supporting users who forget how to work the >> website or need help setting up their profile information. In fact, I have >> a group called "support" who I am tasking with this chore and I want them >> to be able impersonate any of the users. >> >> EXCEPT, of course, me. I have a group for the people who run and control >> every aspect of the website, and only my partner and I have logons at this >> level. I don't want any "support" group members to be able to impersonate >> my "root" group. I may add a "manager" group at some point who should also >> not be accessible to the support staff. I guess I should also prevent >> support staff from impersonating each other as well. I'm no killjoy, but I >> want to prevent "pranking" and epic April Fools jokes between my support >> reps before they even get started. >> >> And I, of course, as "root" want to be able to impersonate anybody on my >> site. The only difference between me and the NSA is that my employees >> won't have to wonder or guess if I'm looking over their shoulder -- I'll >> tell them straight up! (just kidding. NSA also has a larger budget and >> cooler toys. there are actually several differences) >> >> I can see how I can add an "impersonate" group, and add it to either the >> auth_user table or specific rows, but that doesn't give me the layers I'm >> looking for. That is: >> >> support --> impersonate users >> managers --> impersonate support, users >> root --> impersonate all of the above >> >> Have I missed something obvious? >> >> -- Joe "benevolent dictator" B. >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

