From 1dd82fa6ca7dbe496904c114f1ff4e50d9dd5306 Mon Sep 17 00:00:00 2001 From: YunShu Date: Sun, 6 Aug 2023 22:09:41 +0800 Subject: [PATCH 1/2] fix: fix broken links --- CONTRIBUTING.md | 2 +- README.md | 27 ++++++++++----------------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f61c8b0..3ed11bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ This project adheres to the [Contributor Covenant 1.2.](https://www.contributor- ## Questions -* We do our best to have un [up to date documentation](https://casbin.org/docs/en/overview) +* We do our best to have un [up to date documentation](https://casbin.org/docs/overview) * [Stack Overflow](https://stackoverflow.com) is the best place to start if you have a question. Please use the [casbin tag](https://stackoverflow.com/tags/casbin/info) we are actively monitoring. We encourage you to use Stack Overflow specially for Modeling Access Control Problems, in order to build a shared knowledge base. * You can also join our [Discord](https://discord.gg/S5UjpzGZjN). diff --git a/README.md b/README.md index 2914d1e..b8fa953 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ What Casbin does NOT do: ## Documentation -https://casbin.org/docs/en/overview +https://casbin.org/docs/overview ## Online editor @@ -143,16 +143,16 @@ You can also use the online editor (https://casbin.org/editor/) to write your Ca ## Tutorials -https://casbin.org/docs/en/tutorials +https://casbin.org/docs/tutorials ## Policy management Casbin provides two sets of APIs to manage permissions: -- [Management API](https://casbin.org/docs/en/management-api): the primitive API that provides full support for Casbin policy management. -- [RBAC API](https://casbin.org/docs/en/rbac-api): a more friendly API for RBAC. This API is a subset of Management API. The RBAC users could use this API to simplify the code. +- [Management API](https://casbin.org/docs/management-api): the primitive API that provides full support for Casbin policy management. +- [RBAC API](https://casbin.org/docs/rbac-api): a more friendly API for RBAC. This API is a subset of Management API. The RBAC users could use this API to simplify the code. -We also provide a [web-based UI](https://casbin.org/docs/en/admin-portal) for model management and policy management: +We also provide a [web-based UI](https://casbin.org/docs/admin-portal) for model management and policy management: ![model editor](https://hsluoyz.github.io/casbin/ui_model_editor.png) @@ -160,15 +160,15 @@ We also provide a [web-based UI](https://casbin.org/docs/en/admin-portal) for mo ## Policy persistence -https://casbin.org/docs/en/adapters +https://casbin.org/docs/adapters ## Policy consistence between multiple nodes -https://casbin.org/docs/en/watchers +https://casbin.org/docs/watchers ## Role manager -https://casbin.org/docs/en/role-managers +https://casbin.org/docs/role-managers ## Examples @@ -188,11 +188,11 @@ Priority | [priority_model.conf](https://github.com/casbin/casbin/blob/master/ex ## Middlewares -Authz middlewares for web frameworks: https://casbin.org/docs/en/middlewares +Authz middlewares for web frameworks: https://casbin.org/docs/middlewares ## Our adopters -https://casbin.org/docs/en/adopters +https://casbin.org/docs/adopters ## How to Contribute @@ -211,13 +211,6 @@ Support this project by becoming a sponsor. Your logo will show up here with a l - - - - - - - ## License From 2bad923dba5efd8884d74a9bea6d3fc428971012 Mon Sep 17 00:00:00 2001 From: hsluoyz Date: Tue, 8 Aug 2023 14:36:30 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b8fa953..b1934e6 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,13 @@ Support this project by becoming a sponsor. Your logo will show up here with a l + + + + + + + ## License