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

Disabling professor from accidentally downgrading themselves should not prevent Admin from upgrading themself #575

Open
ngwattcos opened this issue Aug 25, 2021 · 0 comments

Comments

@ngwattcos
Copy link
Member

image

Required Functionality

Professor should not be able to downgrade themself to TA or Student.

Actual Functionality

The dropdown for "[email protected]" is disabled for the user "user". This prevents the Admin from upgrading themselves for testing purposes.

Actual Fix

The dropdown should only disable (or hide) the "TA" or "Student" dropdown if the user is a professor (the simpler logic above skips the edge case where the user is an admin trying to upgrade themselves)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant