forked from jmug/stoatchat
feat: implement new permissions hierarchy
This commit is contained in:
@@ -27,7 +27,6 @@ pub async fn req(db: &Db, user: User, target: Ref, data: Json<Data>) -> Result<V
|
||||
|
||||
let role = Role {
|
||||
name: data.name,
|
||||
permissions: (0_i32, 0_i32),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user