diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-10 15:59:50 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-10 15:59:50 -0600 |
| commit | fc1889b176bf6472c5d762fb2861b79961b40cc8 (patch) | |
| tree | 03c43a23a0fd66f702a01338d575f11685ac4bb2 /src | |
| parent | 7c5e815ec858ab8eb98476c2fc997f04e13a4e00 (diff) | |
feat: add access_level to entities.json
Diffstat (limited to 'src')
| -rw-r--r-- | src/authorization/entities.rs | 1 | ||||
| -rw-r--r-- | src/gitlab/member.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/authorization/entities.rs b/src/authorization/entities.rs index dd5894f8..fc1246d7 100644 --- a/src/authorization/entities.rs +++ b/src/authorization/entities.rs @@ -75,6 +75,7 @@ impl EntitiesRepository { }, attrs: serde_json::json!({ "username": member.username, + "access_level": member.access_level, }), parents: vec![], }); diff --git a/src/gitlab/member.rs b/src/gitlab/member.rs index 7e7f212e..b44b88f2 100644 --- a/src/gitlab/member.rs +++ b/src/gitlab/member.rs @@ -5,4 +5,5 @@ pub struct Member { pub id: u64, pub username: String, pub state: String, + pub access_level: u64, } |
