Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge torrust#624: torrust#615 Use Casbin for the authorization layer
389acc4 chore(deps): update dependencies (Mario) 6e1877c refactor: [torrust#615] new get role method, new user role enum and minor refactoring (Mario) 3671c78 refactor: [torrust#615] explicit Casbin imports and policy now defined as string (Mario) 22b0e67 refactor: [torrust#615] delete unused Casbin folder (Mario) 463c533 refactor: [torrust#615] new panic messages and minor refactorings (Mario) 7104b61 feat: [torrust#615] policy is now loaded from code and minor refactors (Mario) f24afaf refactor: [torrust#165] removed unused model file (Mario) 344857e refactor: [torrust#615] model is now read from string instead of file and code cleanup (Mario) 5dc9dca refactor: [torrust#615] more human readable policy file (Mario) e13f579 feat: [torrust#615] authorization service implemented for ban user handler (Mario) ba0ad37 refactor: [torrust#615] code cleanup and improved comments (Mario) 58a33e7 feat: [torrust#615] added authorization for delete torrent action (Mario) e00b0f6 feat: [torrust#615] added Casbin enforcer to app state (Mario) 7a39d0b refactor: [torrust#615] policy file allows admin user to perform any action (Mario) d9ea173 feat: [torrust#615] initial casbin configuration (Mario) 9895346 feat: [torrust#615] casbin package added (Mario) Pull request description: Resolves torrust#615 ACKs for top commit: josecelano: ACK 389acc4 Tree-SHA512: f090f99621489d9150aa9f0775907959fa0f93d5bee0b382ad02f1622c2f1ae5db527639a9a0d78be5fc8bf7cfd06059b88287d0f799b79ae929052fd2d45a4c
- Loading branch information