mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-23 23:43:10 +08:00
Updated README
This commit is contained in:
parent
71c3c06c01
commit
f889182f76
2 changed files with 38 additions and 8 deletions
18
README.md
18
README.md
|
@ -117,6 +117,16 @@ do not hesitate to reach us on [GitHub Discussions](https://github.com/stalwartl
|
|||
[Reddit](https://www.reddit.com/r/stalwartlabs), [Discord](https://discord.gg/aVQr3jF8jd) or [Matrix](https://matrix.to/#/#stalwart:matrix.org).
|
||||
Additionally you may purchase a subscription to obtain priority support from Stalwart Labs Ltd.
|
||||
|
||||
## Sponsorship
|
||||
|
||||
Your support is crucial in helping us continue to improve the project, add new features, and maintain the highest level of quality. By becoming a GitHub Sponsor, you help fund the development and future of Stalwart Mail Server. As a thank-you, sponsors who contribute $10 per month or more will automatically receive a [Small Business Edition](https://stalw.art/small-business/) license, which includes all the powerful features of the [Enterprise edition](https://stalw.art/enterprise/).
|
||||
|
||||
These are some of our open-source sponsors:
|
||||
|
||||
<!-- sponsors --><a href="https://github.com/kbjr"><img src="https://avatars.githubusercontent.com/u/195127?u=a11e7de49732184888781379e9282dc7eed55615&v=4" width="60px" alt="James Brumond" /></a><a href="https://github.com/EliRibble"><img src="https://avatars.githubusercontent.com/u/2319207?u=c755aec38204221af321ef3fd7293c4c812238af&v=4" width="60px" alt="Eli Ribble" /></a><a href="https://github.com/MailRoute"><img src="https://avatars.githubusercontent.com/u/3912377?v=4" width="60px" alt="MailRoute, Inc." /></a><a href="https://github.com/JAMflow-Cloud"><img src="https://avatars.githubusercontent.com/u/165913352?v=4" width="60px" alt="JAMflow Cloud" /></a><a href="https://github.com/starsong-consulting"><img src="https://avatars.githubusercontent.com/u/166622226?v=4" width="60px" alt="Starsong Consulting" /></a><a href="https://github.com/Vie-eco"><img src="https://avatars.githubusercontent.com/u/174055717?v=4" width="60px" alt="Vie.eco" /></a><a href="https://github.com/wdes"><img src="https://avatars.githubusercontent.com/u/25723041?v=4" width="60px" alt="Wdes" /></a><!-- sponsors -->
|
||||
|
||||
<br/>If you would like to support our work, please consider [becoming a sponsor](https://github.com/sponsors/stalwartlabs).
|
||||
|
||||
## Roadmap
|
||||
|
||||
- [ ] JMAP Calendar, Contacts and Tasks support
|
||||
|
@ -131,14 +141,6 @@ Part of the development of this project was funded through the [NGI0 Entrust Fun
|
|||
|
||||
If you find the project useful you can help by [becoming a sponsor](https://liberapay.com/stalwartlabs). Thank you!
|
||||
|
||||
## Sponsors
|
||||
|
||||
These are some of our open-source sponsors:
|
||||
|
||||
<!-- sponsors --><a href="https://github.com/kbjr"><img src="https://avatars.githubusercontent.com/u/195127?u=a11e7de49732184888781379e9282dc7eed55615&v=4" width="60px" alt="James Brumond" /></a><a href="https://github.com/EliRibble"><img src="https://avatars.githubusercontent.com/u/2319207?u=c755aec38204221af321ef3fd7293c4c812238af&v=4" width="60px" alt="Eli Ribble" /></a><a href="https://github.com/MailRoute"><img src="https://avatars.githubusercontent.com/u/3912377?v=4" width="60px" alt="MailRoute, Inc." /></a><a href="https://github.com/JAMflow-Cloud"><img src="https://avatars.githubusercontent.com/u/165913352?v=4" width="60px" alt="JAMflow Cloud" /></a><a href="https://github.com/starsong-consulting"><img src="https://avatars.githubusercontent.com/u/166622226?v=4" width="60px" alt="Starsong Consulting" /></a><a href="https://github.com/Vie-eco"><img src="https://avatars.githubusercontent.com/u/174055717?v=4" width="60px" alt="Vie.eco" /></a><a href="https://github.com/wdes"><img src="https://avatars.githubusercontent.com/u/25723041?v=4" width="60px" alt="Wdes" /></a><!-- sponsors -->
|
||||
|
||||
<br/>If you would like to support our work, please consider [becoming a sponsor](https://github.com/sponsors/stalwartlabs).
|
||||
|
||||
## License
|
||||
|
||||
This project is dual-licensed under the **GNU Affero General Public License v3.0** (AGPL-3.0; as published by the Free Software Foundation) and the **Stalwart Enterprise License v1 (SELv1)**:
|
||||
|
|
|
@ -186,3 +186,31 @@ impl Permission {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::Permission;
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn print_permissions() {
|
||||
const CHECK: &str = ":white_check_mark:";
|
||||
|
||||
for permission in Permission::all() {
|
||||
println!(
|
||||
"|`{}`|{}|{}|{}|{}|",
|
||||
permission.name(),
|
||||
permission.description(),
|
||||
CHECK,
|
||||
permission
|
||||
.is_tenant_admin_permission()
|
||||
.then_some(CHECK)
|
||||
.unwrap_or_default(),
|
||||
permission
|
||||
.is_user_permission()
|
||||
.then_some(CHECK)
|
||||
.unwrap_or_default()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue