Yogesh Raghav Posted March 23, 2017 Share Posted March 23, 2017 (edited) I want to know that how we can restrict a new employee or some specific employee from accessing the feature price from admin product controller. we dont want this user to add or update price.in short we want to disable the tab price when this employee adds /updates products.also iam trying the same by overriding AdminProductsController but iam unable to call employee id in it we can call an employee id in default AdminEmployeeController like $emp_id = $this->context->employee->id; but how to call the same in AdminProductController?do we need to redeclare class or what.i just want that a particular employee wont be able to access the price tab while adding price and i want some thing likepointer-events: none; to that click event to "price" tab so i want to know how to achieve this?any idea? Edited March 23, 2017 by Yogesh Raghav (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now