AppFlowy-IO / AppFlowy-Cloud

AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
GNU Affero General Public License v3.0
1.09k stars 226 forks source link

fix: stop loading collab policies to improve access control evaluation #1007

Closed khorshuheng closed 3 days ago

khorshuheng commented 3 days ago

Currently, we are loading collab policies, even though our access control model doesn't currently rely on it. As one collab policies is added per collab, it took more computational resources for casbin to enforce a policy when the number of collab is huge.