grant read permission to a user over a specific data connection depending on the stream in which the application is published
I need to grant read permission to a user over a specific data connection depending on the stream in which the application is published, to explain this I will exposed the following use cases:
The User_UAT must be able to use the connection Conection_UATonlywhile editing a published App App_UAT in the UAT stream. The user User_UAT should not be able to use the connection Conection_UAT while editing any published App in a stream other than UAT.
The User_PRODmust be able to use the connection Conection_PRODonly while editing a published App App_PROD in the PROD stream. The userUser_PROD should not be able to use the connection Conection_PROD while editing any published App in a stream other than PROD.
The User_BOTHmust be able to use the connection Conection_UAT onlywhile editing a published AppApp_UATin theUATstream and the same way must be able to use the connection Conection_PROD onlywhile editing a published AppApp_PRODin thePRODstream. The user User_BOTHshould not be able to use the connection Connection_UATwhile editing any published App in a stream other than UAT and vice versa.
I have this configuration on my QMC:
Custom Groups (Group)
Group - value #1: UAT
Group - value #2: PROD
Streams (UAT, PROD)
UAT - CustomGroup(Group) value: UAT
PROD - CustomGroup(Group) value: PROD
Data Connections (Connection_UAT, Connection_PROD)
Connection_UAT - CustomGroup(Group) value: UAT
Connection_PROD - CustomGroup(Group) value: PROD
Apps (App_UAT, App_PROD)
App_UAT - CustomGroup(Group) value: UAT
App_PROD - CustomGroup(Group) value: PROD}
Users (User_UAT, User_PROD, User_BOTH)
User_UAT - CustomGroup(Group) value: UAT
User_PROD - CustomGroup(Group) value: PROD
User_BOTH - CustomGroup(Group) value: UAT, PROD
Is posible to create this permission schema? thanks