Skip to content
Clone

fix(repo): populate ActorContext.credential_max after C2 merge

zhenyi committed
parent a437e2c commit e77f56a Browse files

2 files changed

+2 −0

File tree 2
Modified lib/repo/features/authz.rs View lib/repo/features/authz.rs
@@ -36,6 +36,7 @@
3636 user_id: Some(actor_id),
3737 scopes: HashSet::new(),
3838 is_site_admin: user.is_admin,
39 credential_max: None,
3940 channel_role: None,
4041 space_role: None,
4142 })
Modified lib/repo/permission.rs View lib/repo/permission.rs
@@ -203,6 +203,7 @@
203203 user_id,
204204 scopes: HashSet::new(),
205205 is_site_admin,
206 credential_max: None,
206207 channel_role: None,
207208 space_role: None,
208209 }