fn is_sharing_access(&self, permission: Permission) -> bool {
        let Some(valid) = self.machine[permission].valid() else {
            return false;
        };

        if let Joint::Yes = valid.joint {
            return true;
        }

        valid.tenants.iter().any(|p| self.is_sharing_access(*p))
    }
/// True if the permission `p` is currently sharing access to the object's
/// fields. This is true if `permission` is a joint permission, but it's
/// also true if it's a unique permission that is leased by a joint permission.
True if the permission `p` is currently sharing access to the object's
fields. This is true if `permission` is a joint permission, but it's
also true if it's a unique permission that is leased by a joint permission.
True if the permission ` p ` is currently sharing access to the object ' s fields . This is true if ` permission ` is a joint permission but it ' s also true if it ' s a unique permission that is leased by a joint permission .
fn is_sharing_access(&self, permission: Permission) -> bool {
        let Some(valid) = self.machine[permission].valid() else {
            return false;
        };
        if let Joint::Yes = valid.joint {
            return true;
        }
        valid.tenants.iter().any(|p| self.is_sharing_access(*p))
    }
fn is_sharing_access ( & self , permission : Permission ) -> bool { let Some ( valid ) = self . machine [ permission ] . valid ( ) else { return false ; } ; if let Joint :: Yes = valid . joint { return true ; } valid . tenants . iter ( ) . any ( | p | self . is_sharing_access ( * p ) ) }
True if the permission `p` is currently sharing access to the object's
fields.
True if the permission ` p ` is currently sharing access to the object ' s fields .
&self
permission
Permission
&self
permission
Permission