Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4232 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 24
1473
2
jan. 20
15366
16
aug. 19
10321
1
jan. 19
5543
5
jun. 18
10958