How to Hide Admin Pages Using OpenCart User Group Permissions

Do you want to limit some of your users from seeing certain pages in the admin panel? This is a good precaution if you have multiple levels of admin panel access.

To hide specific pages from users, you need to access your User Groups and modify the permissions there. It’s easy, we will show you.

Go to System > Users > User Groups.

From this section, you can create a new user group and begin setting up the permissions you decide are best for your store.

We created one user group for example and named it Users.

When your new user group is ready, click on Edit to being setting up the permissions.

You will notice you have two types of permissions - Access Permission and Modify Permission.

Access Permission is used to determine which admin pages will be available for access for the user group. If you select all of the admin pages, the user group will see all of them.

Modify Permission is the function that enables the user group to modify settings and configurations on the admin pages they have access to.

To hide certain pages from users, you will need to use the Access Permission field.

For our example, we selected all of the admin pages except one - catalog/attribute. That way, the user group will be able to access every menu except Catalog > Attributes > Attributes.

If you have problems figuring out the right pages to select or unselect, simply check the route in the URL.

Example 1

Example 2

Since the page we unselected was catalog/attribute, the user group will not be able to see Attributes admin page.

If a member attempts to access the Attributes, this message will appear:

To do this in your OpenCart store, determine which users you want to have limited access and put them all in a single User Group. After that, decide which pages you want to hide from them. Unselect those pages from the Access Permission field, and you are all set. The users will no longer be able to see the admin pages.

Join 11,000+ subscribers receiving actionable E-commerce advice

* Unsubscribe any time

Trending blogs

comments powered by Disqus