Zen Follower
- Join Date:
- Apr 2005
- Posts:
- 191
- Plugin Contributions:
- 0
Admin Profiles (for v1.3.x only!) Support Thread
Can admin profiles restrict access to only be able to modify certain products when logged in ?
Views: 334,192
Zen Follower
Can admin profiles restrict access to only be able to modify certain products when logged in ?
Totally Zenned
nadsab:
Is admin profiles compatible with ZC 1.3.9f?
If so, are there any code modifications needed for the version currently in the ZC download section?It should be, as long as you patch the files rather than using the 1.3.8 version provided.
There was a 1.3.9 version a while ago with extensive rewriting, so released as a beta, but there was very little interest, so it wasn't taken any further.
Totally Zenned
dannyd:
Can admin profiles restrict access to only be able to modify certain products when logged in ?Sadly no. This has been raised a number of times so there are some quite detailed explanations of the reason why earlier in this thread.
New Zenner
I have 1.37. I installed Admin Profiles. And the 138 patch files.
I log in as the different user and get just the Categories like I want. When I click CATAGORIES I get....
1146 Table 'raptorman_ca_-_db.zen_admin_allowed_categories' doesn't exist
in:
[select admin_id from zen_admin_allowed_categories where categories_id = '0']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields
Help me asap!! Thanks.
Totally Zenned
Installing the 1.3.8 patch files on a 1.3.7 Zen Cart is a bad idea. However, that's not your immediate problem. The problem is that you haven't actually installed admin profiles, but rather a slightly dodgy offshoot, the name of which escapes me at the moment, but which is discussed earlier in this thread, but not supported here (or as far as I know anywhere).
New Zenner
kuroi:
Installing the 1.3.8 patch files on a 1.3.7 Zen Cart is a bad idea. However, that's not your immediate problem. The problem is that you haven't actually installed admin profiles, but rather a slightly dodgy offshoot, the name of which escapes me at the moment, but which is discussed earlier in this thread, but not supported here (or as far as I know anywhere).
You are correct. And thanks for the quick response.
I installed the 1.36 version (your official version) and it works great!
Thanks for your help.
Totally Zenned
Kuroi
Just to let you know I have installed the new version for 1.3.9 (admin_profiles_v1_1_0) on a test server and it seems to be playing the game just fine. I'll keep you in touch if there are any problems.
Not sure if you're going to support this or not. Frustrating I am sure not to have feedback.
Totally Zenned
Kuroi,
Regarding v1_1_0.
In line 229ish of the functions/admin_profiles.php file it reads:
{ // remove adminID for users with cookies off, wherever it appears in the URL
$page = str_replace('?zenAdminID=' . (int)$_GET['zenAdminID'], '', $page);
$page = str_replace('&zenAdminID=' . (int)$_GET['zenAdminID'], '', $page);
I suspect that the (int) is a typo.
Totally Zenned
Very gently put, and absolutely correct. Thanks for reporting it. :yes:
New Zenner
Hello Kuroi,
I had a problem with my admin profile module. I just installed the google analytics module into my zen cart, then I went to the menu tools/admin setting to set the permission for that module.
The google analytics module is there and I could tick the module box, but it the system will not save the changes. Everytime the “Save Changes” button was clicked, system just direct me to the admin home page and did not save the changes. Actually besides google analytics, I have coupon restrict & email export module that I could configure since admin profile module does not save the changes.
Please kindly help.
Below is the version of system I am currently using.
Zen Cart ver 1.3.7.1
Database Patch level 1.3.7.1
Admin profiles ver 1.0.6
I have never upgraded my Zen cart
Kind regards,
Jimmy
Totally Zenned
Hi Jimmy
I suspect that you have installed the Zen Cart security patch that added additional requirements to form handling, for which Admin Profiles needed tweaking.
Two options:
New Zenner
Dear Kuroi,
Thanks for your prompt response. I will look at the options and try one accordingly. Again, thanks for your help.
Regards,
Jimmy
Totally Zenned
Hi Kuroi, I've installed this mod and it's awesome....no issues installing it here so far knock on wood lol
I do have a question though...please forgive me if it has been asked and answered, I did do a search :blink:
When I create a test admin user and restrict what they can access, they can still see customer and order information on the initial admin index page. If they click the links there they'll get the permissions denied message, but I would prefer them not to be able to see customer/order information if I haven't assigned them permissions to that area.
Is there a way to restrict certain info from showing dependant on permissions?
Lissa
Totally Zenned
@LissaE
I know this has been covered before and am pretty certain that it's in this thread, though way back. Nearer the beginning than the current position.
In outline the solution is to wrap if statements around each of those blocks in the admin.php page to show them only if the logged in admin is in a list of those allowed to see them. So slightly tangential to Admin Profiles but using a approach with some elements in common.
Totally Zenned
lol I figured it prolly had and I am just not putting in the right search terms LOL I will start from the beginning of the thread and hopefully find it (not sure what if statements to use LOL)
Thanx :D
New Zenner
Hello Kuroi,
On regards with my query to you early this week (see Quote). I just remembered that last year I received a notice from Zen Cart advising that there is a security problem in admin area and asked the user to change the admin directory name. Therefore, I have changed the directory name. everything was running OK but admin profile.
Does this changes effect admin profile module? if so, what rectification should be done. please kindly advise. Thanks in advance for your help.
Regards,
Jimmy
jwidjaja:
Hello Kuroi,
I had a problem with my admin profile module. I just installed the google analytics module into my zen cart, then I went to the menu tools/admin setting to set the permission for that module.
The google analytics module is there and I could tick the module box, but it the system will not save the changes. Everytime the “Save Changes” button was clicked, system just direct me to the admin home page and did not save the changes. Actually besides google analytics, I have coupon restrict & email export module that I could configure since admin profile module does not save the changes.
Please kindly help.Below is the version of system I am currently using.
Zen Cart ver 1.3.7.1
Database Patch level 1.3.7.1
Admin profiles ver 1.0.6
I have never upgraded my Zen cartKind regards,
Jimmy
Totally Zenned
@jwidjaja
Admin Profiles works from within your admin, so moving it makes no difference.
My hypothesis as to the cause of your problems remains as before and the options for fixing it are therefore the same.
New Zenner
Hi Kuroi,
Thanks for your super prompt reply.
I have gone through the admin profile upgrade from ver. 1.0.6 to ver 1.0.7.1 ; and It saves the changes now. Looks great. Hope this has solved the problem completely.
Again, thanks for your help.
Kind regards,
Jim
kuroi:
@jwidjaja
Admin Profiles works from within your admin, so moving it makes no difference.
My hypothesis as to the cause of your problems remains as before and the options for fixing it are therefore the same.
New Zenner
Is there a way to set this up so multiple people can administrate the user roles?
I'd like for user id's 1 and 2 to both be able to administrate the other users, instead of just user id 1.
Totally Zenned
Hello
Have you got any feedback on the Beta release? I don't see it in the official upgrade and just want to make sure it's safe to install on a live site, just finished upgrading to 1.39 this weekend and having issues with the master admin login, trying to debug the issue (it is not related to this module, I am able to login in fine with 1.39 on the test server, just the live site is giving me hard time).
I am going through all the modules installed on the site and see if there were any new updates for 1.39 compatibility or security related releases so I am starting with this mod.
Fields marked required must be completed.
Tell staff why this post should be reviewed.