Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict the list of entity useable for sending card #4494

Closed
freddidierRTE opened this issue May 12, 2023 · 0 comments · Fixed by #4512
Closed

Restrict the list of entity useable for sending card #4494

freddidierRTE opened this issue May 12, 2023 · 0 comments · Fixed by #4512
Assignees
Labels
Enhancement New feature

Comments

@freddidierRTE
Copy link
Contributor

freddidierRTE commented May 12, 2023

Add in state definition , in usercard a new field named publisherList

If field is present , the user can send a card the corresponding state only if is member of an entity in publisherList

The list of entities proposed to the user for card sending shall take into account this field

The field is of the same for as in https://opfab.github.io/documentation/current/reference_doc/#restrict_possible_recipients

Add a chapter in documentation : https://opfab.github.io/documentation/current/reference_doc/#user_cards

Add cypress test in src/test/cypress/cypress/integration/UserCard.spec.js in function " describe('Send user card with operator4_fr, member of several entities' ..." (Restrict a list of entity for a state)

@freddidierRTE freddidierRTE added the Enhancement New feature label May 12, 2023
quinarygio added a commit that referenced this issue May 17, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 22, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 22, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 25, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 25, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 25, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 26, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
freddidierRTE pushed a commit that referenced this issue May 26, 2023
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants