Skip to content

[FEATURE] Deletion of existing photos, of event by any leader #787

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

Merged
merged 4 commits into from
Mar 28, 2025

Conversation

gdaviet
Copy link
Contributor

@gdaviet gdaviet commented Mar 27, 2025

No description provided.

Copy link
Member

@jnguiot jnguiot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nickel!

@jnguiot
Copy link
Member

jnguiot commented Mar 27, 2025

A noter qu'il faut mettre à jour collectives/models/roles.py si les encadrants peuvent à présent supprimer les évènements

@gdaviet
Copy link
Contributor Author

gdaviet commented Mar 28, 2025

A noter qu'il faut mettre à jour collectives/models/roles.py si les encadrants peuvent à présent supprimer les évènements

Bien vu ! J'ai aussi rendu la condition plus restrictive, ils peuvent uniquement supprimer les événements pour lesquels il n'y a pas d'inscrits, ce qui devrait répondre à la problématique la plus courante et éviter les fausses manips

@gdaviet gdaviet merged commit 801eb45 into master Mar 28, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants