Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-04-11 16:53:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,494
Website GitHub

Re: Change Role on the fly when logged in for testing


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#17 2012-11-18 00:19:13

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,271
Website Mastodon

Re: Change Role on the fly when logged in for testing

I am no longer able to login and see my Admin, Extensions, Plugins, etc tabs.

I was testing out various access options using Switch Role plugin, and while i was switched to “Staff Writer” I logout… but when i try to logon again as Admin my Admin ID is still stuck i nstaff writer!! I can i reset. I can’t login to see admin tabs?

Last edited by bici (2012-11-18 00:20:22)


…. texted postive

Offline

#18 2012-11-18 00:34:18

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: Change Role on the fly when logged in for testing

Did you install v0.1 of smd_faux_role?
I think the closest you get to a solution is this post by Stef. Sounds like a doable PHPmyAdmin affair.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#19 2012-11-18 00:41:25

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,271
Website Mastodon

Re: Change Role on the fly when logged in for testing

uli wrote:

Did you install v0.1 of smd_faux_role?
I think the closest you get to a solution is this post by Stef. Sounds like a doable PHPmyAdmin affair.

well i must have 0.20 installed
('smd_faux_role',1,'Stef Dawson','stefdawson.com/','0.20','Switch user privs on the fly so you can see what other accounts see'

I thought I would try a restore a DB from backup.

And so I just downloaded the DB.sql file from a backup done last month. and lo and behold i came across the line posted above.

Last edited by bici (2012-11-18 00:42:00)


…. texted postive

Offline

#20 2012-11-18 01:12:47

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: Change Role on the fly when logged in for testing

OK, I think you should tell Stef in the topic I linked to about the issue here.

In order to fix your privs, I meant you should go into PHPmyAdmin, table txp_users, column privs, and set the value for your login back to 1.

Last edited by uli (2012-11-18 01:13:23)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#21 2012-11-18 05:54:54

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,271
Website Mastodon

Re: Change Role on the fly when logged in for testing

uli wrote:

OK, I think you should tell Stef in the topic I linked to about the issue here.

In order to fix your privs, I meant you should go into PHPmyAdmin, table txp_users, column privs, and set the value for your login back to 1.

i posted on the thread. And i was able to restore my admin login. Thank-you

Last edited by bici (2012-11-18 17:28:00)


…. texted postive

Offline

Board footer

Powered by FluxBB