Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4131 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 24
1401
2
ene 20
15228
16
ago 19
10188
1
ene 19
5445
5
jun 18
10844