Jump to content

[solved] grant access to module front controller ajax actions only to logged in employee


logan871

Recommended Posts

Thanks for reply but I need authorization for employee not for customer. But I'm not in admin context so I cannot access to employee informations. Is there any to access to authenticated employee data from module front controller in ajax action? Or I should 'convert' module front controller in an admin module controller? How to create link to admin module controller action? There are conventions for ajax action name in module admin controller and for the name of controller itself  (ajaxProcessSomeAction)? Can I create an admin module controller just for process some ajax request restricting access just to authenticated employee (no guest or customer)?

Edited by logan871 (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...