Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5894 Lượt xem

How to hide "Create and Edit" option in the drop down of "Unit of Measure" field in product form view? I want to give the create access only to admin and hide from other users.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Make sure the access rights are limited to the certain groups you want them for. Usually this means removing them from the groups that already had them (prob. stock and sales).

Go to settings --> Users --> Groups and open up any group. On the tab "Access rights" you willd find a collection of objects and their CRUD-settings for that particular group. Uncheck the "write / create /delete" options from the groups you do not want them under.

Under the group for administrators (if that exists), add the line for Unit of Measurement object and check all the boxes. The last step is to just make sure that all your users are added to the right groups.

Ảnh đại diện
Huỷ bỏ
Tác giả

Ludo, but i need those users to be in stock and sales groups. if i create a seperate group for those non-admin users, will that be fine? but still they are already in stock and sales groups.

Yes, that is what I meant. Remove the access rights from those groups but leave the groups themselves intact. Then add the access rights to your admin-group and you should be fine. NOTE: By "remove from the group" I mean that you should uncheck "write/create/delete". You cannot remove the record itself because the employees still need read-rights on that part.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 22
7292
0
thg 4 24
1962
2
thg 9 23
7541
2
thg 3 23
46596
2
thg 12 23
57553