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

Permit multiple entity to edit the same card #1646

Closed
freddidierRTE opened this issue Aug 31, 2021 · 0 comments · Fixed by #2179
Closed

Permit multiple entity to edit the same card #1646

freddidierRTE opened this issue Aug 31, 2021 · 0 comments · Fixed by #2179
Assignees
Labels
Enhancement New feature LetsCo Issues needed for letscoordinate project

Comments

@freddidierRTE
Copy link
Contributor

freddidierRTE commented Aug 31, 2021

Add field entitiesAllowedToEdit in card as an array of string representing entities id

When user see a card in the feed , he can see the button to edit and can edit the card if :

  • he is member of an the publisher entity
  • or he is member of an entity in entitiesAllowedToEdit (do not forget to take into account , groups of entities)

Implements the check in the back.

To delete the card , we keep the actual rules , only the user member of the publisher entity can delete the card

When a user update a card , the publisher is set to his entity

The entitiesAllowedToEdit value can be set by user card template via the getSpecificCardInformation method . By default the value is not set

@freddidierRTE freddidierRTE added LetsCo Issues needed for letscoordinate project Enhancement New feature labels Aug 31, 2021
@freddidierRTE freddidierRTE self-assigned this Oct 28, 2021
@freddidierRTE freddidierRTE removed their assignment Nov 18, 2021
@quinarygio quinarygio self-assigned this Nov 18, 2021
quinarygio added a commit that referenced this issue Dec 3, 2021
quinarygio added a commit that referenced this issue Dec 9, 2021
quinarygio added a commit that referenced this issue Dec 9, 2021
quinarygio added a commit that referenced this issue Dec 10, 2021
quinarygio added a commit that referenced this issue Dec 10, 2021
quinarygio added a commit that referenced this issue Dec 13, 2021
freddidierRTE pushed a commit that referenced this issue Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature LetsCo Issues needed for letscoordinate project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants