Forums / Upgrading to 1.5.x / Admin Access Management

Admin Access Management

Locked

Started by niccol on 27 Jan 2012, 5:06 PM · Views: 1,821

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Jan 2012, 5:06 PM
#1
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Admin Access Management

=======

OK. What am I missing?

If I create a new module I create a new admin page for it in (say) extras. I am doing thet through an sql statement.

That works fine. I can see, use , play with my new admin page.

When I go to Admin Access Management and a profile other than superuser I can see that there is a nice new checkbox in the extras section with the module name. It is much nicer that these are categorised in a way that they weren't in Admin profiles, by the way.

So, far so good.

But when I check the box and click update I am diverted to the front page of admin and the profile is not updated.

If I go into the admin_pages_to_profiles table I can add the record manually and it works fine.

Am I missing a step?

=======

UPDATE: just tried this on a clean install with no modules installed. It seems to have nothing to do with the modules. I cannot update a profile once it is created.

steps taken on a clean install :

  • create a new profile 'test' with just My Store ticked

-- the profile is created fine

-- click on edit

-- i get to the edit page fine and can see that My Store is still checked

-- I check another box and click update

-- I am diverted to the main admin page and no changes have been made.

Is any one else seeing this? Or am I doing something daft at the end of a long long week?

Nick
iszent.com

27 Jan 2012, 5:34 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Admin Access Management

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Jun 2012, 6:43 PM
#3
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Admin Access Management

Ok sites are up and running all 3 of them on the same database. But only one of them has the Access Admin Management menu. Some file is not including this menu. I searched the database and the three profiles are there.

What did I not do?

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

10 Jun 2012, 8:21 PM
#4
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Admin Access Management

Now none of them has admin access management. Ugg. Is admin access management on the menu for all superusers?

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

10 Jun 2012, 9:01 PM
#5
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Admin Access Management

I just uploaded all the clean files to admin directory. no help. I dont even have the original admin option at this point.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

10 Jun 2012, 9:15 PM
#6
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Admin Access Management

Attachment 10605 Here is a screenshot of the db

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

11 Jun 2012, 4:53 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Admin Access Management

*** edited **

Edit:
I see you solved the problem via another thread, but didn't post back here with the solution.

Here it is for others who follow later:
*http://www.zen-cart.com/showthread.php?195287-Missing-Admin-Access-Management-tab

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.