Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4261 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
févr. 24
1484
2
janv. 20
15388
16
août 19
10350
1
janv. 19
5580
5
juin 18
10990