/dports/security/vaultwarden/vaultwarden-1.23.1/src/db/models/ |
H A D | cipher.rs | 23 pub user_uuid: Option<String>, 61 user_uuid: None, in new() 194 match self.user_uuid { in update_users_revision() 316 self.user_uuid.is_some() && self.user_uuid.as_ref().unwrap() == user_uuid in is_owned_by_user() 339 if self.is_owned_by_user(user_uuid) || self.is_in_full_access_org(user_uuid, conn) { in get_access_restrictions() 352 .and(users_collections::user_uuid.eq(user_uuid)))) in get_access_restrictions() 410 .filter(folders::user_uuid.eq(&user_uuid)) in get_folder_uuid() 448 .and(users_organizations::user_uuid.eq(user_uuid)) in find_by_user() 456 .filter(ciphers::user_uuid.eq(user_uuid)) // Cipher owner in find_by_user() 484 ciphers::user_uuid.eq(user_uuid) in find_owned_by_user() [all …]
|
H A D | collection.rs | 150 users_collections::user_uuid.eq(user_uuid) in find_by_user_uuid() 155 users_organizations::user_uuid.eq(user_uuid) in find_by_user_uuid() 201 users_collections::user_uuid.eq(user_uuid) in find_by_uuid_and_user() 206 users_organizations::user_uuid.eq(user_uuid) in find_by_uuid_and_user() 233 .filter(users_collections::user_uuid.eq(user_uuid)) in is_writable_by_user() 255 .filter(users_collections::user_uuid.eq(user_uuid)) in hide_passwords_for_user() 272 .filter(users_collections::user_uuid.eq(user_uuid)) in find_by_organization_and_user_uuid() 295 users_collections::user_uuid.eq(user_uuid), in save() 323 users_collections::user_uuid.eq(user_uuid), in save() 369 .filter(users_collections::user_uuid.eq(user_uuid)) in find_by_collection_and_user() [all …]
|
H A D | favorite.rs | 8 #[primary_key(user_uuid, cipher_uuid)] 10 pub user_uuid: String, 22 pub fn is_favorite(cipher_uuid: &str, user_uuid: &str, conn: &DbConn) -> bool { in is_favorite() 26 .filter(favorites::user_uuid.eq(user_uuid)) in is_favorite() 35 let (old, new) = (Self::is_favorite(cipher_uuid, user_uuid, conn), favorite); in set_favorite() 38 User::update_uuid_revision(user_uuid, conn); in set_favorite() 42 favorites::user_uuid.eq(user_uuid), in set_favorite() 50 User::update_uuid_revision(user_uuid, conn); in set_favorite() 54 .filter(favorites::user_uuid.eq(user_uuid)) in set_favorite() 76 pub fn delete_all_by_user(user_uuid: &str, conn: &DbConn) -> EmptyResult { in delete_all_by_user() [all …]
|
H A D | two_factor_incomplete.rs | 11 #[primary_key(user_uuid, device_uuid)] 13 pub user_uuid: String, 26 user_uuid: &str, in mark_incomplete() 39 let existing = Self::find_by_user_and_device(user_uuid, device_uuid, conn); in mark_incomplete() 47 twofactor_incomplete::user_uuid.eq(user_uuid), in mark_incomplete() 63 Self::delete_by_user_and_device(user_uuid, device_uuid, conn) in mark_complete() 69 .filter(twofactor_incomplete::user_uuid.eq(user_uuid)) in find_by_user_and_device() 88 Self::delete_by_user_and_device(&self.user_uuid, &self.device_uuid, conn) in delete() 94 .filter(twofactor_incomplete::user_uuid.eq(user_uuid)) in delete_by_user_and_device() 101 pub fn delete_all_by_user(user_uuid: &str, conn: &DbConn) -> EmptyResult { in delete_all_by_user() [all …]
|
H A D | two_factor.rs | 14 pub user_uuid: String, 44 pub fn new(user_uuid: String, atype: TwoFactorType, data: String) -> Self { in new() 47 user_uuid, in new() 98 …diesel::delete(twofactor::table.filter(twofactor::user_uuid.eq(&self.user_uuid)).filter(twofactor:… in save() 121 pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> { in find_by_user() 124 .filter(twofactor::user_uuid.eq(user_uuid)) in find_by_user() 132 pub fn find_by_user_and_type(user_uuid: &str, atype: i32, conn: &DbConn) -> Option<Self> { in find_by_user_and_type() 135 .filter(twofactor::user_uuid.eq(user_uuid)) in find_by_user_and_type() 143 pub fn delete_all_by_user(user_uuid: &str, conn: &DbConn) -> EmptyResult { in delete_all_by_user() 145 diesel::delete(twofactor::table.filter(twofactor::user_uuid.eq(user_uuid))) in delete_all_by_user() [all …]
|
H A D | organization.rs | 24 pub user_uuid: String, 178 user_uuid, in new() 330 "UserId": self.user_uuid, in to_json_user_details() 369 "UserId": self.user_uuid, in to_json_details() 483 .filter(users_organizations::user_uuid.eq(user_uuid)) in find_confirmed_by_user() 493 .filter(users_organizations::user_uuid.eq(user_uuid)) in find_invited_by_user() 503 .filter(users_organizations::user_uuid.eq(user_uuid)) in find_any_state_by_user() 542 .filter(users_organizations::user_uuid.eq(user_uuid)) in find_by_user_and_org() 555 .and(users_organizations::user_uuid.eq(user_uuid)) in find_by_user_and_policy() 573 users_collections::user_uuid.eq(users_organizations::user_uuid) in find_by_cipher_and_org() [all …]
|
/dports/audio/gsequencer/gsequencer-3.10.4/ags/server/security/ |
H A D | ags_certificate.h | 44 gchar *user_uuid, 50 gchar *user_uuid, 57 gchar *user_uuid, 71 gchar *user_uuid, 85 gchar *user_uuid, 99 gchar *user_uuid, 115 gchar *user_uuid, 122 gchar *user_uuid, 129 gchar *user_uuid, 143 gchar *user_uuid, [all …]
|
H A D | ags_certificate.c | 94 user_uuid, in ags_certificate_get_cert_uuid() 116 gchar *user_uuid, in ags_certificate_set_domain() argument 129 user_uuid, in ags_certificate_set_domain() 154 gchar *user_uuid, in ags_certificate_get_domain() argument 167 user_uuid, in ags_certificate_get_domain() 203 user_uuid, in ags_certificate_set_key_type() 241 user_uuid, in ags_certificate_get_key_type() 277 user_uuid, in ags_certificate_set_public_key_file() 315 user_uuid, in ags_certificate_get_public_key_file() 351 user_uuid, in ags_certificate_set_private_key_file() [all …]
|
H A D | ags_business_group.h | 44 gchar *user_uuid, 50 gchar *user_uuid, 57 gchar *user_uuid, 64 gchar *user_uuid, 71 gchar *user_uuid, 81 gchar *user_uuid, 87 gchar *user_uuid, 94 gchar *user_uuid, 101 gchar *user_uuid, 108 gchar *user_uuid,
|
H A D | ags_business_group.c | 81 gchar *user_uuid, in ags_business_group_get_group_uuid() argument 93 user_uuid, in ags_business_group_get_group_uuid() 115 gchar *user_uuid, in ags_business_group_set_group_name() argument 128 user_uuid, in ags_business_group_set_group_name() 153 gchar *user_uuid, in ags_business_group_get_group_name() argument 166 user_uuid, in ags_business_group_get_group_name() 189 gchar *user_uuid, in ags_business_group_set_user() argument 202 user_uuid, in ags_business_group_set_user() 227 gchar *user_uuid, in ags_business_group_get_user() argument 240 user_uuid, in ags_business_group_get_user()
|
H A D | ags_password_store.h | 46 gchar *user_uuid, 52 gchar *user_uuid, 58 gchar *user_uuid, 64 gchar *user_uuid, 78 gchar *user_uuid, 84 gchar *user_uuid, 90 gchar *user_uuid, 96 gchar *user_uuid,
|
H A D | ags_password_store.c | 80 gchar *user_uuid, in ags_password_store_set_login_name() argument 92 user_uuid, in ags_password_store_set_login_name() 115 gchar *user_uuid, in ags_password_store_get_login_name() argument 127 user_uuid, in ags_password_store_get_login_name() 148 gchar *user_uuid, in ags_password_store_set_password() argument 160 user_uuid, in ags_password_store_set_password() 183 gchar *user_uuid, in ags_password_store_get_password() argument 195 user_uuid, in ags_password_store_get_password()
|
/dports/security/vaultwarden/vaultwarden-1.23.1/src/db/schemas/postgresql/ |
H A D | schema.rs | 16 user_uuid -> Nullable<Text>, 49 user_uuid -> Text, 59 favorites (user_uuid, cipher_uuid) { 60 user_uuid -> Text, 70 user_uuid -> Text, 111 user_uuid -> Nullable<Text>, 135 user_uuid -> Text, 145 user_uuid -> Text, 186 user_uuid -> Text, 196 user_uuid -> Text, [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/src/db/schemas/sqlite/ |
H A D | schema.rs | 16 user_uuid -> Nullable<Text>, 49 user_uuid -> Text, 59 favorites (user_uuid, cipher_uuid) { 60 user_uuid -> Text, 70 user_uuid -> Text, 111 user_uuid -> Nullable<Text>, 135 user_uuid -> Text, 145 user_uuid -> Text, 186 user_uuid -> Text, 196 user_uuid -> Text, [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/src/db/schemas/mysql/ |
H A D | schema.rs | 16 user_uuid -> Nullable<Text>, 49 user_uuid -> Text, 59 favorites (user_uuid, cipher_uuid) { 60 user_uuid -> Text, 70 user_uuid -> Text, 111 user_uuid -> Nullable<Text>, 135 user_uuid -> Text, 145 user_uuid -> Text, 186 user_uuid -> Text, 196 user_uuid -> Text, [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/migrations/sqlite/2020-08-02-025025_add_favorites_table/ |
H A D | up.sql | 2 user_uuid TEXT NOT NULL REFERENCES users(uuid), field 5 PRIMARY KEY (user_uuid, cipher_uuid) 9 INSERT INTO favorites(user_uuid, cipher_uuid) 10 SELECT user_uuid, uuid 13 AND user_uuid IS NOT NULL; 37 user_uuid TEXT REFERENCES users(uuid), field 51 INSERT INTO new_ciphers(uuid, created_at, updated_at, user_uuid, organization_uuid, atype, 53 SELECT uuid, created_at, updated_at, user_uuid, organization_uuid, atype,
|
/dports/www/fusionpbx/fusionpbx-4.4.1/core/users/ |
H A D | user_edit.php | 42 $user_uuid = check_str($_REQUEST["id"]); variable 46 $user_uuid = uuid(); variable 75 if (if_superadmin($superadmins, $user_uuid)) { 90 $sql .= "and user_uuid = '".$user_uuid."' "; 102 $user_uuid = $_REQUEST["id"]; variable 179 $sql .= "and user_uuid = '".$user_uuid."' "; 201 $sql .= "and user_uuid = '".$user_uuid."' "; 225 $sql .= "and user_uuid = '".$user_uuid."' "; 320 $sql .= "and user_uuid = '".$user_uuid."' "; 351 $array['users'][$x]['user_uuid'] = $user_uuid; [all …]
|
H A D | user_delete.php | 46 $user_uuid = check_str($_GET["id"]); variable 49 if (is_uuid($user_uuid)) { 53 $sql .= "where user_uuid = '".$user_uuid."' "; 68 if (if_superadmin($superadmin_list, $user_uuid)) { 78 $sql .= "where user_uuid = '".$user_uuid."' "; 87 $sql .= "where user_uuid = '".$user_uuid."' "; 96 $sql .= "where user_uuid = '".$user_uuid."' ";
|
/dports/emulators/yuzu/yuzu-0b47f7a46/src/core/hle/service/acc/ |
H A D | profile_manager.cpp | 107 .user_uuid = uuid, in CreateNewUser() 134 return profiles[index].user_uuid; in GetUser() 154 return GetUserIndex(user.user_uuid); in GetUserIndex() 163 profile.user_uuid = prof_info.user_uuid; in GetProfileBase() 177 return GetProfileBase(user.user_uuid, profile); in GetProfileBase() 242 return p.user_uuid; in GetOpenUsers() 274 return GetProfileBaseAndData(user.user_uuid, profile, data); in GetProfileBaseAndData() 303 profile.user_uuid = profile_new.user_uuid; in SetProfileBase() 344 .user_uuid = user.uuid, in ParseUserSaveFile() 361 .uuid = profiles[i].user_uuid, in WriteUserSaveFile() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/migrations/postgresql/2019-09-12-100000_create_tables/ |
H A D | up.sql | 27 user_uuid CHAR(36) NOT NULL REFERENCES users (uuid), field 45 user_uuid CHAR(36) REFERENCES users (uuid), field 68 user_uuid CHAR(36) NOT NULL REFERENCES users (uuid), field 79 user_uuid CHAR(36) NOT NULL REFERENCES users (uuid), field 82 PRIMARY KEY (user_uuid, collection_uuid) 87 user_uuid CHAR(36) NOT NULL REFERENCES users (uuid), field 95 UNIQUE (user_uuid, org_uuid) 112 user_uuid CHAR(36) NOT NULL REFERENCES users (uuid), field 116 UNIQUE (user_uuid, atype)
|
/dports/security/vaultwarden/vaultwarden-1.23.1/src/api/ |
H A D | notifications.rs | 124 user_uuid: Option<String>, field 199 let user_uuid = claims.sub; in on_open() localVariable 200 self.user_uuid = Some(user_uuid.clone()); in on_open() 264 user_uuid: None, in connection_made() 271 if let Some(user_uuid) = &handler.user_uuid { in connection_lost() 288 if let Some(user) = self.map.get(user_uuid) { in send_update() 316 self.send_update(&folder.user_uuid, &data).ok(); in send_folder_update() 320 let user_uuid = convert_option(cipher.user_uuid.clone()); in send_cipher_update() localVariable 326 ("UserId".into(), user_uuid), in send_cipher_update() 340 let user_uuid = convert_option(send.user_uuid.clone()); in send_send_update() localVariable [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/migrations/postgresql/2020-08-02-025025_add_favorites_table/ |
H A D | up.sql | 2 user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid), field 5 PRIMARY KEY (user_uuid, cipher_uuid) 9 INSERT INTO favorites(user_uuid, cipher_uuid) 10 SELECT user_uuid, uuid 13 AND user_uuid IS NOT NULL;
|
/dports/security/vaultwarden/vaultwarden-1.23.1/migrations/mysql/2020-08-02-025025_add_favorites_table/ |
H A D | up.sql | 2 user_uuid CHAR(36) NOT NULL REFERENCES users(uuid), field 5 PRIMARY KEY (user_uuid, cipher_uuid) 9 INSERT INTO favorites(user_uuid, cipher_uuid) 10 SELECT user_uuid, uuid 13 AND user_uuid IS NOT NULL;
|
/dports/security/vaultwarden/vaultwarden-1.23.1/migrations/postgresql/2019-09-16-150000_fix_attachments/ |
H A D | down.sql | 6 ALTER TABLE devices ALTER COLUMN user_uuid TYPE CHAR(36); 9 ALTER TABLE ciphers ALTER COLUMN user_uuid TYPE CHAR(36); 12 ALTER TABLE folders ALTER COLUMN user_uuid TYPE CHAR(36); 15 ALTER TABLE users_collections ALTER COLUMN user_uuid TYPE CHAR(36); 18 ALTER TABLE users_organizations ALTER COLUMN user_uuid TYPE CHAR(36); 25 ALTER TABLE twofactor ALTER COLUMN user_uuid TYPE CHAR(36);
|
H A D | up.sql | 7 ALTER TABLE devices ALTER COLUMN user_uuid TYPE VARCHAR(40); 10 ALTER TABLE ciphers ALTER COLUMN user_uuid TYPE VARCHAR(40); 13 ALTER TABLE folders ALTER COLUMN user_uuid TYPE VARCHAR(40); 16 ALTER TABLE users_collections ALTER COLUMN user_uuid TYPE VARCHAR(40); 19 ALTER TABLE users_organizations ALTER COLUMN user_uuid TYPE VARCHAR(40); 26 ALTER TABLE twofactor ALTER COLUMN user_uuid TYPE VARCHAR(40);
|