Jump to content

Access Admin order payment hook limited by employee permission profile


Innovacion Usi

Recommended Posts

My bank sent me their module for integration with my prestashop 1.6.0.14 installation. During installation some hooks were registered. One of these hooks is displayAdminOrder. This way the admin of my shop can handle the payment returns. But now everybody that has access to the admin order can potentially execute payment returns. I want to avoid that. Is it possible - without asking the bank to change its module - to limit the access to that hook to employees with the right permissions? Thanks!!

 

SOLVED: simply by giving the right permissions!

Edited by Innovacion Usi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...