Jump to content

new administrator can't make changes


Rich
 Share

Recommended Posts

I added a non-superuser administrator to my store. I granted it read/edit/delete permissions to manage categories, products, customers, and orders.

Upon logging in with that user to check it out, I find that it will not allow saving (edit) or deletion for those items!

I really don't want them to be a superuser, so what do I need to do to fix this???

Link to comment
Share on other sites

Welcome Rich! Glad to see you made it to the forums.

Obviously, that is not supposed to happen. And, in admin, the database is not supposed to be using any cached queries - fresh requests from the database at all times.

Still, if you haven't done so already, make sure that you have had CubeCart clear its internal cache. You might have noticed a lit button at the upper-right corner.

I will make some tests.

Please let us know the exact version of CubeCart you are using.

Link to comment
Share on other sites

My recent test involved changing the permissions to match the above of an existing sub-admin, logging out, then logging in as that sub-admin. Permissions behaved as expected.

In admin, as the sub-admin, visit Maintenance. You should get a red banner warning: "You do not have permission to perform that action."

Log out, then in as the super-admin. Again, visit Maintenance, Database tab. Any warning banners about a table(s) needing repaired? Especially the CubeCart_permissions table?

 

Edited by bsmither
Link to comment
Share on other sites

As the sub-admin, got the "You do not have permission to perform that action." warning.

As the super-admin, there are no warnings of any kind in the database tab. Ran a "check" on all tables, and all were OK.

Link to comment
Share on other sites

My next test will involve creating a new sub-admin and assigning permissions at that time, before saving. (I'm checking for the proper sequence of saving the admin details, then saving the permissions matrix.)

In the meantime, use an external database utility to check the contents of CubeCart_permissions. Your hosting account's control panel will have phpMyAdmin available. If on a server you have direct access to, you should have a utility available on your workstation to manage the database server.

Link to comment
Share on other sites

For admin #2, you have Categories (3), Customers (5), Documents (4), FileManager (7), Orders (10), and Products (2) as Delete/Edit/Read (7). For Statistics (8), there is only Read (1).

I think I found the problem.

To clarify, the sub-admin can read, and possibly make changes on the form, but there is no Submit button to post those changes? No Delete icon (red trash bin) to delete an item?

If that is the exact case, then, as a work-around, for any sub-admin, do not give just Read permission for any section -- which is dangerous, I know. Since you have just Read permission for Statistics, and there is nothing to delete in Statistics, go ahead and give Delete permission as well for Statistics.

I will verify and post a problem report.

Edited by bsmither
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...