From 088d555671a67445b1422c5e0c1dbaaa653cd0cc Mon Sep 17 00:00:00 2001 From: yaleman Date: Mon, 8 Aug 2022 03:57:47 +0000 Subject: [PATCH] deploy: bdcb3a4f6ee5fa0a5b0eb6fb3ee5656e1e20be64 --- docs/master/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/master/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/stable/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/stable/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0-rc10/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0-rc10/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc1/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc1/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc10/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc10/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc11/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc11/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc2/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc2/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc3/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc3/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc7/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc7/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc8/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc8/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.0.0rc9/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.0.0rc9/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.2/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.2/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.3/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../rustdoc/kanidm_client/enum.ClientError.html | 6 +++--- .../rustdoc/kanidm_client/struct.KanidmClient.html | 4 ++-- .../v1.1.0-alpha.3/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.4/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../rustdoc/kanidm_client/enum.ClientError.html | 6 +++--- .../rustdoc/kanidm_client/struct.KanidmClient.html | 4 ++-- .../v1.1.0-alpha.4/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.5/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.5/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.6/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.6/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.7/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.7/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.8/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.8/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha.9/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- .../v1.1.0-alpha.9/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- docs/v1.1.0-alpha/rustdoc/kanidm/server/index.html | 2 +- .../server/struct.QueryServerWriteTransaction.html | 10 +++++----- docs/v1.1.0-alpha/rustdoc/src/kanidm/server.rs.html | 12 +++++++++++- 64 files changed, 350 insertions(+), 150 deletions(-) diff --git a/docs/master/rustdoc/kanidm/server/index.html b/docs/master/rustdoc/kanidm/server/index.html index a27d82dd4..cc14d3c63 100644 --- a/docs/master/rustdoc/kanidm/server/index.html +++ b/docs/master/rustdoc/kanidm/server/index.html @@ -4,7 +4,7 @@
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/master/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/master/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/master/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/master/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/master/rustdoc/src/kanidm/server.rs.html b/docs/master/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/master/rustdoc/src/kanidm/server.rs.html +++ b/docs/master/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/stable/rustdoc/kanidm/server/index.html b/docs/stable/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/stable/rustdoc/kanidm/server/index.html
+++ b/docs/stable/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/stable/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/stable/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/stable/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/stable/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/stable/rustdoc/src/kanidm/server.rs.html b/docs/stable/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/stable/rustdoc/src/kanidm/server.rs.html +++ b/docs/stable/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0-rc10/rustdoc/kanidm/server/index.html b/docs/v1.0.0-rc10/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0-rc10/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0-rc10/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0-rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0-rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0-rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0-rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0-rc10/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0-rc10/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0-rc10/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0-rc10/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc1/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc1/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc1/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc1/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc1/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc1/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc1/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc1/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc1/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc1/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc1/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc1/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc10/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc10/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc10/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc10/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc10/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc10/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc10/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc10/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc10/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc11/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc11/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc11/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc11/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc11/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc11/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc11/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc11/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc11/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc11/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc11/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc11/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc2/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc2/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc2/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc2/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc2/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc2/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc2/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc2/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc3/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc3/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc3/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc3/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc3/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc3/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc3/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc3/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc7/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc7/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc7/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc7/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc7/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc7/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc7/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc7/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc8/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc8/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc8/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc8/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc8/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc8/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc8/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc8/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.0.0rc9/rustdoc/kanidm/server/index.html b/docs/v1.0.0rc9/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.0.0rc9/rustdoc/kanidm/server/index.html
+++ b/docs/v1.0.0rc9/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.0.0rc9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.0.0rc9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.0.0rc9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.0.0rc9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.0.0rc9/rustdoc/src/kanidm/server.rs.html b/docs/v1.0.0rc9/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.0.0rc9/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.0.0rc9/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.2/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.2/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.2/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.2/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.2/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.3/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/enum.ClientError.html b/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/enum.ClientError.html index 3dbfecefa..a098c3f5c 100644 --- a/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/enum.ClientError.html +++ b/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/enum.ClientError.html @@ -6,16 +6,16 @@

ClientError

pub enum ClientError {
     Unauthorized,
-    Http(StatusCodeOption<OperationError>, String),
+    Http(StatusCodeOption<OperationError>, String),
     Transport(Error),
     AuthenticationFailed,
     EmptyResponse,
-    TotpVerifyFailed(Uuid, TotpSecret),
+    TotpVerifyFailed(UuidTotpSecret),
     TotpInvalidSha1(Uuid),
     JsonDecode(ErrorString),
     JsonEncode(SerdeJsonError),
     SystemError,
-}

Variants

Unauthorized

Http(StatusCodeOption<OperationError>, String)

Transport(Error)

AuthenticationFailed

EmptyResponse

TotpVerifyFailed(Uuid, TotpSecret)

TotpInvalidSha1(Uuid)

JsonDecode(ErrorString)

JsonEncode(SerdeJsonError)

SystemError

Trait Implementations

Formats the value using the given formatter. Read more

+}

Variants

Unauthorized

Http(StatusCodeOption<OperationError>, String)

Transport(Error)

AuthenticationFailed

EmptyResponse

TotpVerifyFailed(UuidTotpSecret)

TotpInvalidSha1(Uuid)

JsonDecode(ErrorString)

JsonEncode(SerdeJsonError)

SystemError

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/struct.KanidmClient.html b/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/struct.KanidmClient.html index 9e1955f43..18c18699f 100644 --- a/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/struct.KanidmClient.html +++ b/docs/v1.1.0-alpha.3/rustdoc/kanidm_client/struct.KanidmClient.html @@ -4,8 +4,8 @@
pub struct KanidmClient { /* private fields */ }

Implementations

source

pub async fn idm_account_post_ssh_pubkey(
    &self,
    id: &str,
    tag: &str,
    pubkey: &str
) -> Result<(), ClientError>

Sets the domain display name using a PUT request

-

Trait Implementations

Formats the value using the given formatter. Read more

+

Struct kanidm_client::KanidmClient

source · []
pub struct KanidmClient { /* private fields */ }

Implementations

source

pub async fn idm_account_post_ssh_pubkey(
    &self,
    id: &str,
    tag: &str,
    pubkey: &str
) -> Result<(), ClientError>

Sets the domain display name using a PUT request

+

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/docs/v1.1.0-alpha.3/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.3/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.3/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.3/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530
//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.4/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/enum.ClientError.html b/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/enum.ClientError.html index a098c3f5c..3dbfecefa 100644 --- a/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/enum.ClientError.html +++ b/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/enum.ClientError.html @@ -6,16 +6,16 @@

ClientError

pub enum ClientError {
     Unauthorized,
-    Http(StatusCodeOption<OperationError>, String),
+    Http(StatusCodeOption<OperationError>, String),
     Transport(Error),
     AuthenticationFailed,
     EmptyResponse,
-    TotpVerifyFailed(UuidTotpSecret),
+    TotpVerifyFailed(Uuid, TotpSecret),
     TotpInvalidSha1(Uuid),
     JsonDecode(ErrorString),
     JsonEncode(SerdeJsonError),
     SystemError,
-}

Variants

Unauthorized

Http(StatusCodeOption<OperationError>, String)

Transport(Error)

AuthenticationFailed

EmptyResponse

TotpVerifyFailed(UuidTotpSecret)

TotpInvalidSha1(Uuid)

JsonDecode(ErrorString)

JsonEncode(SerdeJsonError)

SystemError

Trait Implementations

Formats the value using the given formatter. Read more

+}

Variants

Unauthorized

Http(StatusCodeOption<OperationError>, String)

Transport(Error)

AuthenticationFailed

EmptyResponse

TotpVerifyFailed(Uuid, TotpSecret)

TotpInvalidSha1(Uuid)

JsonDecode(ErrorString)

JsonEncode(SerdeJsonError)

SystemError

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/struct.KanidmClient.html b/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/struct.KanidmClient.html index 18c18699f..9e1955f43 100644 --- a/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/struct.KanidmClient.html +++ b/docs/v1.1.0-alpha.4/rustdoc/kanidm_client/struct.KanidmClient.html @@ -4,8 +4,8 @@
pub struct KanidmClient { /* private fields */ }

Implementations

source

pub async fn idm_account_post_ssh_pubkey(
    &self,
    id: &str,
    tag: &str,
    pubkey: &str
) -> Result<(), ClientError>

Sets the domain display name using a PUT request

-

Trait Implementations

Formats the value using the given formatter. Read more

+

Struct kanidm_client::KanidmClient

source · []
pub struct KanidmClient { /* private fields */ }

Implementations

source

pub async fn idm_account_post_ssh_pubkey(
    &self,
    id: &str,
    tag: &str,
    pubkey: &str
) -> Result<(), ClientError>

Sets the domain display name using a PUT request

+

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/docs/v1.1.0-alpha.4/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.4/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.4/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.4/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530
//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.5/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.5/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.5/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.5/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.5/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.6/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.6/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.6/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.6/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.6/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.7/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.7/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.7/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.7/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.7/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.8/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.8/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.8/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.8/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.8/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha.9/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha.9/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha.9/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha.9/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha.9/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })
diff --git a/docs/v1.1.0-alpha/rustdoc/kanidm/server/index.html b/docs/v1.1.0-alpha/rustdoc/kanidm/server/index.html
index a27d82dd4..cc14d3c63 100644
--- a/docs/v1.1.0-alpha/rustdoc/kanidm/server/index.html
+++ b/docs/v1.1.0-alpha/rustdoc/kanidm/server/index.html
@@ -4,7 +4,7 @@
     
     
-

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction +

Module kanidm::server

source · []
Expand description

server contains the query server, which is the main high level construction to coordinate queries and operations in the server.

Structs

Traits

diff --git a/docs/v1.1.0-alpha/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html b/docs/v1.1.0-alpha/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html index 25cce7db0..0d59764c1 100644 --- a/docs/v1.1.0-alpha/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html +++ b/docs/v1.1.0-alpha/rustdoc/kanidm/server/struct.QueryServerWriteTransaction.html @@ -4,19 +4,19 @@
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

+

Struct kanidm::server::QueryServerWriteTransaction

source · []
pub struct QueryServerWriteTransaction<'a> { /* private fields */ }

Implementations

Migrate 2 to 3 changes the name, domain_name types from iutf8 to iname.

Migrate 3 to 4 - this triggers a regen of the domains security token as we previously did not have it in the entry.

Migrate 4 to 5 - this triggers a regen of all oauth2 RS es256 der keys as we previously did not generate them on entry creation.

-

Migrate 5 to 6 - This updates the domain info item to reset the token +

Migrate 5 to 6 - This updates the domain info item to reset the token keys based on the new encryption types.

-

Initiate a domain display name change process. This isn’t particularly scary +

Initiate a domain display name change process. This isn’t particularly scary because it’s just a wibbly human-facing thing, not used for secure activities (yet)

-

Initiate a domain rename process. This is generally an internal function but it’s +

Initiate a domain rename process. This is generally an internal function but it’s exposed to the cli for admins to be able to initiate the process.

-

Trait Implementations

Gets the in-memory domain_name element

+

Trait Implementations

Gets the in-memory domain_name element

Conduct a search and apply access controls to yield a set of entries that have been reduced to the set of user visible avas. Note that if you provide a SearchEvent for the internal user, this query will fail. It is invalid for diff --git a/docs/v1.1.0-alpha/rustdoc/src/kanidm/server.rs.html b/docs/v1.1.0-alpha/rustdoc/src/kanidm/server.rs.html index 42a553eea..edf5b53a0 100644 --- a/docs/v1.1.0-alpha/rustdoc/src/kanidm/server.rs.html +++ b/docs/v1.1.0-alpha/rustdoc/src/kanidm/server.rs.html @@ -4528,6 +4528,11 @@ 4523 4524 4525 +4526 +4527 +4528 +4529 +4530

//! `server` contains the query server, which is the main high level construction
 //! to coordinate queries and operations in the server.
 
@@ -6791,7 +6796,12 @@
         spanned!("server::migrate_5_to_6", {
             admin_warn!("starting 5 to 6 migration.");
             let filter = filter!(f_eq("uuid", (*PVUUID_DOMAIN_INFO).clone()));
-            let modlist = ModifyList::new_purge("domain_token_key");
+            let mut modlist = ModifyList::new_purge("domain_token_key");
+            // We need to also push the version here so that we pass schema.
+            modlist.push_mod(Modify::Present(
+                AttrString::from("version"),
+                Value::Uint32(0),
+            ));
             self.internal_modify(&filter, &modlist)
             // Complete
         })