Skip to Content
Menu
This question has been flagged

Hi there,

I want to define a security rule for a stock location that only one group of users can interact with this location. All the user users should not see the location and should not do anything in this location.

I have a location ABC and this should only be seen by users of the group UsersABC. But the UsersABC should also have the rights to see all other locations. But all other groups should not have any permissions on location ABC ( read, write, create, delete )

I tried to define a rule that global the rights for the locationABC are 0000 and the rights for UsersABC are 1111 but the first problem is thatOdoo says that there must be at least one Access Right to be checked in the rules. And the second problem is, when i create a rule with domain ['name','=','locationABC'] for group UsersABC they can only see this location.

Anybody an idea how to handle this problem?


Greets Flo

Avatar
Discard
Best Answer

You exclude location ABC ID from standard 1111 Location rule (expand domain like ...('id','!=',ABC_ID)...)  and create new full rule with domain=[....('id','=',ABC_ID)...] for  UsersABC group.

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 24
342
2
Jan 20
13424
16
Aug 19
8647
1
Jan 19
4311
5
Jun 18
9577