Is your feature request related to a problem? Please describe.
There's no filter of draft / public session and all new sessions appear in sessions list
Describe alternatives you've considered
Store publish sessions in a new collection (publishSessions) to control rules more securely
Additional context
Once a session is set to public it should no longer be possible to edit the session freely.
However, updating a public session, would be enabled by a firebase cloud callable function where the user ownership will be checked along with validation of only allowed props (should maintain allow list).
deletion of public session should only be available if:
[ ] session has no enrolments
Session list should only display public sessions (excluding owners, which should be able to view their drafts as well)
Is your feature request related to a problem? Please describe. There's no filter of draft / public session and all new sessions appear in sessions list
Describe alternatives you've considered Store publish sessions in a new collection (
publishSessions
) to control rules more securelyAdditional context
Once a session is set to public it should no longer be possible to edit the session freely. However, updating a public session, would be enabled by a firebase cloud callable function where the user ownership will be checked along with validation of only allowed props (should maintain allow list).
deletion of public session should only be available if:
Session list should only display public sessions (excluding owners, which should be able to view their drafts as well)