Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

Conversation

@pconrad
Copy link
Contributor

@pconrad pconrad commented Oct 16, 2017

This is for REVIEW only... to compare ground truth on submit.cs.ucsb.edu with what's on the master branch of the repo.

We should carefully review all of this.

else:
prev_group = next_group = None


Copy link
Contributor Author

@pconrad pconrad Oct 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bad hack added by P. Conrad for the CS8 Summer 2017 lab exam.

It is ok if it gets reverted. The purpose was so that students in earlier sections could not share their answers to the lab exam questions with students in later sections. That is, if the first four characters of the project are the magic value "EXAM", then all non admin users are prevented from seeing the "download" link on the view of the submission.

return uid

# connect to ldap
ldap_conn = ldap.initialize(ldap_uri)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is code added by Bryce to assist with running, for example, on AWS, outside of the context where the UCSB ldap server is directly accessible.

@bboe
Copy link
Contributor

bboe commented Oct 17, 2017

It looks like the ground truth is slightly behind this repository, with exception of the EXAM hack. With that in mind this PR probably isn't necessary.

Glad to know there weren't too many other such updates though. Thanks for going through the exercise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants