-
Notifications
You must be signed in to change notification settings - Fork 22
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
mat_number identity protection #277
Comments
oups. I used the wrong script |
For identity protection, some universities do not provide the actual mat_number via shibboleth. However, a unique mat_number of type integer is required. Using a string field is more flexible and should not yield to significant performance drops, since the mat_number is nominal data. Close KITPraktomatTeam#277
For identity protection, some universities do not provide the actual mat_number via shibboleth. However, a unique mat_number of type integer is required. Using a string field is more flexible and should not yield to significant performance drops, since the mat_number is nominal data. Close KITPraktomatTeam#277
In reply to physikerwelt #277 (comment)
Since the LDAP-Features are merged into master branch, there is a default configuration in settings/default.py not to create dummy values for mat_number, but you can activate that with corresponding change in settings/local.py. Praktomat/src/settings/defaults.py Lines 363 to 364 in aafbeb1
If activated dummy mat_numbers are stored automaticaly Praktomat/src/accounts/models.py Lines 187 to 190 in aafbeb1
Perhabs this issue can be closed? |
@hannesbraun created the pullrequest #334 for not validating |
For identity protection, the actual mat_number cannot be retrieved from shibboleth at my university. I appreciate that in principal. However, paktomat requires a unique mat_number of type integer. Our mat_number is of type string. After changing the data type, I could not run the migration script
./src/manage-local.py makemigrations
which failed with the error below.Thus, I had to
.
However, since we are considering to use praktomat for a second course in the same semester this becomes inconvenient.
Error message:
The text was updated successfully, but these errors were encountered: