Skip to content

Feat: Add locking groups feature#311

Merged
Laith-Grira merged 23 commits intomainfrom
feat/block_groups_feature
Dec 5, 2023
Merged

Feat: Add locking groups feature#311
Laith-Grira merged 23 commits intomainfrom
feat/block_groups_feature

Conversation

@Laith-Grira
Copy link
Copy Markdown
Contributor

@Laith-Grira Laith-Grira commented Dec 4, 2023

Change Description

  • groups require having a section now
  • prof can lock and unlock groups based on the section, a switch button is added in the edit section form
  • a label "Locked" is added in the sections table to indicate if a section locked
  • students can lock and unlock their groups
  • students cannot join a group that has a different section than theirs
  • students cannot leave their group if the professor locks all groups
  • students cannot unlock their group if the professor locks all groups
  • if a student leaves a locked group, the group gets unlocked again
  • the group created by a student will have the same section as the student

Related PR/Issues, JIRAs

How to Verify

Verification

  • PR/Change is verified in local dev environment

Tests

  • Unit tests added/updated
  • Integration tests added/updated

@Laith-Grira Laith-Grira merged commit 21e8cbe into main Dec 5, 2023
@Laith-Grira Laith-Grira deleted the feat/block_groups_feature branch December 5, 2023 00:49
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.

1 participant