Skip to content

Commit

Permalink
Increased readability of note
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Sep 1, 2023
1 parent 1453719 commit cb5ee48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/study_for_issue_252.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ Application boundaries:
* user update view? https://github.com/dfir-iris/iris-web/blob/v2.3.1/source/app/blueprints/profile/profile_routes.py#L136


To implement the case "insensitive comparison", all the retrieval points should be modified to get the user by login in a case insensitive way (this should be all the code places listed in paragraph User retrival, it can also be seen by looking at all the calls to User.query.filter).
Look all User.query.filter, transform User.user == into User.user.ilike). Should also group calls to User.query.filter in app.datamgmt.manage.manage_users_db.
To implement the case "insensitive comparison", all the retrieval points should be modified to get the user by login in a case insensitive way (this should be all the code places listed in paragraph [User retrieval](#user-retrieval), it can also be seen by looking at all the calls to `User.query.filter`).
Look all `User.query.filter`, transform `User.user ==` into `User.user.ilike`). Should also group calls to `User.query.filter` in `app.datamgmt.manage.manage_users_db`.

0 comments on commit cb5ee48

Please sign in to comment.