freechat/server/src/perms.rs
shockrah 1b8e52e3e0 Moved new member for admins logic to members module
More generally members now has a proper looking insert new member function

Added new combinational permision for basic users

Reworked DATBASE_URL initialization for the API's environment variable
Nearly there to conditionally running the server, only need to add one more guard
2020-08-06 19:09:59 -07:00

5 lines
121 B
Rust

pub const JOIN_VOICE:u64 = 1;
pub const SEND_MESSAGES:u64 = 2;
pub const GENERAL_NEW: u64 = JOIN_VOICE | SEND_MESSAGES;