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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 UserCourseMembership not created when admin creates new course #337

Open
1 task
sibinhho99 opened this issue Sep 23, 2023 · 0 comments 路 Fixed by #338
Open
1 task

馃悰 UserCourseMembership not created when admin creates new course #337

sibinhho99 opened this issue Sep 23, 2023 · 0 comments 路 Fixed by #338
Labels
Type: Bug A problem with existing functionality

Comments

@sibinhho99
Copy link
Collaborator

Cc:

Hi

Describe the Bug

To Reproduce

Steps to reproduce the behavior:

  1. Log into admin user account
  2. Create a new course
  3. Query UserCourseMembership table for the membership with such course id, and it can't be found

Expected Behavior

Corresponding UserCourseMembership entry is created when admin creates a course

Tasks

  • Fix

Acceptance Criteria

More Information

When admin creates course, UserCourseMembership entry should be created as well, so perhaps this check should be removed

if not current_user.is_admin

Environment

  • Device: [e.g. iPhone 12]
  • Browser: [e.g. chrome, safari]
  • OS: [e.g. iOS]

Screenshots

Thanks!

@sibinhho99 sibinhho99 added the Type: Bug A problem with existing functionality label Sep 23, 2023
@sibinhho99 sibinhho99 linked a pull request Sep 24, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug A problem with existing functionality
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant