DSpeichert / cloudvcl

Cloud VCL - let your students use virtual environments for class/assignments
https://dspeichert.github.io/cloudvcl/
3 stars 1 forks source link

Accessing restricted functionality for student account #83

Closed syavatkar closed 7 years ago

syavatkar commented 7 years ago

When a student attempts to access create assignment functionality through https://cloudvcl.cci.drexel.edu/assignments/create, should they be directed to the drexel connect login screen or have a message displaying a 403 error. On my laptop, I get redirected to the Drexel Connect Login page. But, when I use a machine on the drexel domain, I get a 403 error displaying a message "You don't have permission to access /assignments/create on this server." I have included a screenshot below.

image

syavatkar commented 7 years ago

image . Another message I received using a machine on the Drexel domain when attempting to access https://cloudvcl.cci.drexel.edu/assignments/1/update with a student account. Instead for this one, I get a different message displaying "You don't have permission to access /login"

DSpeichert commented 7 years ago

@abhishekvalanju please verify

abhishekvalanju commented 7 years ago

@syavatkar I tested as an instructor and it works fine. I mean wouldn't it make sense that it would work for a student since a student doesn't have permission to edit/update an assignment.

DSpeichert commented 7 years ago

It's proper behavior, you can't get access to the login page with a redirect to a page you can't access.