May I Know What Are The Permissions Of Admin Role

0

I have a problem where user in Admin role cannot export the product list, product report, sale and other reports.
but if I create another group and give all permissions they can export normally but they can only access to a specific warehouse only.

so may you help ? because I want an admin to be able to access to all warehouses and export all the reports and data.

thank you.

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 7 Answers 670 Views
Asked by Prom Vongchann 3 years ago

0

Answered by Mian Saleem 3 years ago

Hello,

The admin permissions are fixed. You will need to edit the code to change admin permissions. I suggest to create new permissions groups and set them as you to want. While adding user please don't select warehouse or biller for the user. Once added this user will be able to see the reports as permissions for all warehouses.

Thank you

0

Answered by Prom Vongchann 3 years ago

OK thank you let me try

0

Answered by Prom Vongchann 3 years ago

hello support team,

I tried follow your suggestion but the problem is the user role I have created I tick every permision but the user that I assign to that new role cannot see the item cost, price and cannot transfer to any warehouse and also cannot see product details.

if I compare the built in Admin role, it is better but this role, user cannot export any report or data.

is there any other suggestion?

0

Answered by Mian Saleem 3 years ago

To allow admin export the data, you will need to modify xxx_actions methods of each controller in the app/controllers/admin/ and replace the line

if (!$this->Owner && !$this->GP['bulk_actions']) {

with

if (!$this->Owner && !$this->Admin && !$this->GP['bulk_actions']) {

0

Answered by Prom Vongchann 3 years ago

I went to this location and found then replace same as your snipet but Admin role still cannot export product list.
see my screenshot (when I click on export excel there is nothing happen)
any suggestion?

0

Answered by Enyinnaya Gift 3 years ago

Prom Vongchann You need to also modify the view of the necessary controller method, mostly the index.php in the themes/default/admin/view/xxx and replace the line

	if ($Owner || $GP['bulk_actions']) {

with

	if ($Owner || $Admin || $GP['bulk_actions']) {

0

Answered by Prom Vongchann 3 years ago

OK I see. I will try that again.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.