Properly revision RecordAccess
structure (#4361)
This commit is contained in:
parent
e281a4e41e
commit
a81aef0e93
1 changed files with 3 additions and 2 deletions
|
@ -260,14 +260,15 @@ pub struct JwtAccessVerifyJwks {
|
||||||
pub url: String,
|
pub url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[revisioned(revision = 1)]
|
#[revisioned(revision = 2)]
|
||||||
#[derive(Debug, Serialize, Deserialize, Hash, Clone, Eq, PartialEq, PartialOrd)]
|
#[derive(Debug, Serialize, Deserialize, Hash, Clone, Eq, PartialEq, PartialOrd)]
|
||||||
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
|
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
|
||||||
pub struct RecordAccess {
|
pub struct RecordAccess {
|
||||||
pub signup: Option<Value>,
|
pub signup: Option<Value>,
|
||||||
pub signin: Option<Value>,
|
pub signin: Option<Value>,
|
||||||
pub authenticate: Option<Value>,
|
|
||||||
pub jwt: JwtAccess,
|
pub jwt: JwtAccess,
|
||||||
|
#[revision(start = 2)]
|
||||||
|
pub authenticate: Option<Value>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for RecordAccess {
|
impl Default for RecordAccess {
|
||||||
|
|
Loading…
Reference in a new issue