Add 'accepted' field to TeamMember

This commit is contained in:
Geometrically
2020-12-26 22:49:07 -07:00
parent 4beace1bb0
commit bd5d84abcd
5 changed files with 63 additions and 53 deletions

View File

@@ -51,4 +51,6 @@ pub struct TeamMember {
pub role: String,
/// A bitset containing the user's permissions in this team
pub permissions: Option<Permissions>,
/// Whether the user has joined the team or is just invited to it
pub accepted: bool,
}