numerus/deploy
jordi fita mas c84f3f9e80 Allow guest access to user_profile with an empty profile
I want this so that the Go application does not need to know the exact
details of the settings that the database sets when applying the cookie;
it just needs to select from the user_profile that already knows this.

Also, that way i can get the user’s language from its profile with a
single select, without having to check whether we are guest or
authenticated.

With that, i can skip the content negotiation if the user already told
us what language they want.
2023-01-23 01:18:47 +01:00
..
available_languages.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
check_cookie.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
current_app_user.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
email.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
encrypt_password.sql Remove the revocation of all function executions 2023-01-17 13:05:58 +01:00
ensure_role_exists.sql Remove the revocation of all function executions 2023-01-17 13:05:58 +01:00
extension_citext.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
extension_pgcrypto.sql Create pgcrypto extension into auth schema 2023-01-17 13:12:18 +01:00
language.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
login.sql Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
login_attempt.sql Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
logout.sql Use current_app_user to logout 2023-01-23 01:18:05 +01:00
roles.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
schema_auth.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
schema_numerus.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
schema_public.sql Move check_cookie to public and give access to authenticator 2023-01-18 14:12:59 +01:00
set_cookie.sql Add a function to set request settings and the role 2023-01-19 13:07:32 +01:00
user.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
user_profile.sql Allow guest access to user_profile with an empty profile 2023-01-23 01:18:47 +01:00