-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
synapse.api.auth.Auth
cleanup: make permission-related methods use Requester
instead of the UserID
#13024
synapse.api.auth.Auth
cleanup: make permission-related methods use Requester
instead of the UserID
#13024
Commits on Aug 5, 2022
-
Pass the requester to
assert_user_is_admin
instead of the UserIDSigned-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 5358b88 - Browse repository at this point
Copy the full SHA 5358b88View commit details -
Make the permissions-related methods use the requester
instead of just the UserID Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 68474ee - Browse repository at this point
Copy the full SHA 68474eeView commit details -
Make Auth.get_user_by_access_token and _get_appservice_user return a …
…Requester Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 6f2c0c3 - Browse repository at this point
Copy the full SHA 6f2c0c3View commit details -
Refactor
get_user_by_req
to keep the same logic for appservice user……s and regular ones Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 7beb0a4 - Browse repository at this point
Copy the full SHA 7beb0a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4bb34d - Browse repository at this point
Copy the full SHA c4bb34dView commit details
Commits on Aug 9, 2022
-
Update the docstrings where the user_id param changed to the requester.
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for bcfa8d9 - Browse repository at this point
Copy the full SHA bcfa8d9View commit details -
Apply suggestions from code review
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 6e41a06 - Browse repository at this point
Copy the full SHA 6e41a06View commit details
Commits on Aug 17, 2022
-
Get rid of the mark_as_used parameter
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 1670733 - Browse repository at this point
Copy the full SHA 1670733View commit details -
Revert to using a dummy device ID for appservices user_ips recordings
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for f74ff1f - Browse repository at this point
Copy the full SHA f74ff1fView commit details -
Fix tests mocks & use the right method in guest registration
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 9f91f78 - Browse repository at this point
Copy the full SHA 9f91f78View commit details -
Signed-off-by: Quentin Gliech <quenting@element.io>
Configuration menu - View commit details
-
Copy full SHA for 2a926c6 - Browse repository at this point
Copy the full SHA 2a926c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f48a202 - Browse repository at this point
Copy the full SHA f48a202View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7baca38 - Browse repository at this point
Copy the full SHA 7baca38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f3cceb - Browse repository at this point
Copy the full SHA 1f3ccebView commit details