This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 2fc39dd chore: update repo URLs
2fc39dd is described below
commit 2fc39dddeabe0fdf94b421d46270fbc50f125e38
Author: Yang Luo <[email protected]>
AuthorDate: Fri Aug 7 11:37:54 2026 +0800
chore: update repo URLs
---
.github/workflows/release.yml | 2 +-
Cargo.toml | 2 +-
README.md | 40 ++++++++++++++++++++--------------------
3 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 41ab984..d50da74 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ env:
jobs:
release:
name: Release ${{ github.ref_name }}
- if: github.repository == 'casbin/casbin-rs'
+ if: github.repository == 'apache/casbin-rs'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
diff --git a/Cargo.toml b/Cargo.toml
index 91e22a4..ceb585f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,7 @@ keywords = ["auth", "authorization", "rbac", "acl", "abac"]
license = "Apache-2.0"
name = "casbin"
readme = "README.md"
-repository = "https://github.com/casbin/casbin-rs"
+repository = "https://github.com/apache/casbin-rs"
version = "2.18.1"
diff --git a/README.md b/README.md
index e4ff1d4..d9d6b33 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# casbin-rs
-[](https://github.com/casbin/casbin-rs/actions)
-[](https://codecov.io/gh/casbin/casbin-rs)
+[](https://github.com/apache/casbin-rs/actions)
+[](https://codecov.io/gh/apache/casbin-rs)
[](https://docs.rs/casbin)
[](https://crates.io/crates/casbin)
[](https://crates.io/crates/casbin)
@@ -20,9 +20,9 @@
| [Casbin](https://github.com/casbin/casbin)
| [jCasbin](https://github.com/casbin/jcasbin)
| [node-Casbin](https://github.com/casbin/node-casbin)
|
[PHP-Casbin](https://github.com/php-casbin/php-casbin)
|
| production-ready
| production-ready
| production-ready
| production-ready
|
-|
[](https://github.com/casbin/pycasbin)
|
[](https://github.com/casbin-net/Casbin.NET)
|
[](https://github.com/casbin/casbin-cpp)
|
[](https://github.com/casbin/casbin-rs)
|
+|
[](https://github.com/casbin/pycasbin)
|
[](https://github.com/casbin-net/Casbin.NET)
|
[](https://github.com/casbin/casbin-cpp)
|
[](https://github.com/apache/casbin-rs)
|
|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
-| [PyCasbin](https://github.com/casbin/pycasbin)
| [Casbin.NET](https://github.com/casbin-net/Casbin.NET)
|
[Casbin-CPP](https://github.com/casbin/casbin-cpp)
| [Casbin-RS](https://github.com/casbin/casbin-rs)
|
+| [PyCasbin](https://github.com/casbin/pycasbin)
| [Casbin.NET](https://github.com/casbin-net/Casbin.NET)
|
[Casbin-CPP](https://github.com/casbin/casbin-cpp)
| [Casbin-RS](https://github.com/apache/casbin-rs)
|
| production-ready
| production-ready
| production-ready
| production-ready
|
## Installation
@@ -172,8 +172,8 @@ https://casbin.org/docs/tutorials
casbin-rs provides two sets of APIs to manage permissions:
-- [Management
API](https://github.com/casbin/casbin-rs/blob/master/src/management_api.rs):
the primitive API that provides full support for casbin-rs policy management.
See
[here](https://github.com/casbin/casbin-rs/blob/master/src/management_api.rs)
for examples.
-- [RBAC API](https://github.com/casbin/casbin-rs/blob/master/src/rbac_api.rs):
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. See
[here](https://github.com/casbin/casbin-rs/blob/master/src/rbac_api.rs) for
examples.
+- [Management
API](https://github.com/apache/casbin-rs/blob/master/src/management_api.rs):
the primitive API that provides full support for casbin-rs policy management.
See
[here](https://github.com/apache/casbin-rs/blob/master/src/management_api.rs)
for examples.
+- [RBAC API](https://github.com/apache/casbin-rs/blob/master/src/rbac_api.rs):
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. See
[here](https://github.com/apache/casbin-rs/blob/master/src/rbac_api.rs) for
examples.
We also provide a web-based UI for model management and policy management:
@@ -194,17 +194,17 @@ https://casbin.org/docs/role-managers
Model | Model file | Policy file
----|------|----
-ACL |
[basic_model.conf](https://github.com/casbin/casbin-rs/blob/master/examples/basic_model.conf)
|
[basic_policy.csv](https://github.com/casbin/casbin-rs/blob/master/examples/basic_policy.csv)
-ACL with superuser |
[basic_model_with_root.conf](https://github.com/casbin/casbin-rs/blob/master/examples/basic_with_root_model.conf)
|
[basic_policy.csv](https://github.com/casbin/casbin-rs/blob/master/examples/basic_policy.csv)
-ACL without users |
[basic_model_without_users.conf](https://github.com/casbin/casbin-rs/blob/master/examples/basic_without_users_model.conf)
|
[basic_policy_without_users.csv](https://github.com/casbin/casbin-rs/blob/master/examples/basic_without_users_policy.csv)
-ACL without resources |
[basic_model_without_resources.conf](https://github.com/casbin/casbin-rs/blob/master/examples/basic_without_resources_model.conf)
|
[basic_policy_without_resources.csv](https://github.com/casbin/casbin-rs/blob/master/examples/basic_without_resources_policy.csv)
-RBAC |
[rbac_model.conf](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_model.conf)
|
[rbac_policy.csv](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_policy.csv)
-RBAC with resource roles |
[rbac_model_with_resource_roles.conf](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_resource_roles_model.conf)
|
[rbac_policy_with_resource_roles.csv](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_resource_roles_policy.csv)
-RBAC with domains/tenants |
[rbac_model_with_domains.conf](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_domains_model.conf)
|
[rbac_policy_with_domains.csv](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_domains_policy.csv)
-ABAC |
[abac_model.conf](https://github.com/casbin/casbin-rs/blob/master/examples/abac_model.conf)
| N/A
-RESTful |
[keymatch_model.conf](https://github.com/casbin/casbin-rs/blob/master/examples/keymatch_model.conf)
|
[keymatch_policy.csv](https://github.com/casbin/casbin-rs/blob/master/examples/keymatch_policy.csv)
-Deny-override |
[rbac_model_with_deny.conf](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_deny_model.conf)
|
[rbac_policy_with_deny.csv](https://github.com/casbin/casbin-rs/blob/master/examples/rbac_with_deny_policy.csv)
-Priority |
[priority_model.conf](https://github.com/casbin/casbin-rs/blob/master/examples/priority_model.conf)
|
[priority_policy.csv](https://github.com/casbin/casbin-rs/blob/master/examples/priority_policy.csv)
+ACL |
[basic_model.conf](https://github.com/apache/casbin-rs/blob/master/examples/basic_model.conf)
|
[basic_policy.csv](https://github.com/apache/casbin-rs/blob/master/examples/basic_policy.csv)
+ACL with superuser |
[basic_model_with_root.conf](https://github.com/apache/casbin-rs/blob/master/examples/basic_with_root_model.conf)
|
[basic_policy.csv](https://github.com/apache/casbin-rs/blob/master/examples/basic_policy.csv)
+ACL without users |
[basic_model_without_users.conf](https://github.com/apache/casbin-rs/blob/master/examples/basic_without_users_model.conf)
|
[basic_policy_without_users.csv](https://github.com/apache/casbin-rs/blob/master/examples/basic_without_users_policy.csv)
+ACL without resources |
[basic_model_without_resources.conf](https://github.com/apache/casbin-rs/blob/master/examples/basic_without_resources_model.conf)
|
[basic_policy_without_resources.csv](https://github.com/apache/casbin-rs/blob/master/examples/basic_without_resources_policy.csv)
+RBAC |
[rbac_model.conf](https://github.com/apache/casbin-rs/blob/master/examples/rbac_model.conf)
|
[rbac_policy.csv](https://github.com/apache/casbin-rs/blob/master/examples/rbac_policy.csv)
+RBAC with resource roles |
[rbac_model_with_resource_roles.conf](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_resource_roles_model.conf)
|
[rbac_policy_with_resource_roles.csv](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_resource_roles_policy.csv)
+RBAC with domains/tenants |
[rbac_model_with_domains.conf](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_domains_model.conf)
|
[rbac_policy_with_domains.csv](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_domains_policy.csv)
+ABAC |
[abac_model.conf](https://github.com/apache/casbin-rs/blob/master/examples/abac_model.conf)
| N/A
+RESTful |
[keymatch_model.conf](https://github.com/apache/casbin-rs/blob/master/examples/keymatch_model.conf)
|
[keymatch_policy.csv](https://github.com/apache/casbin-rs/blob/master/examples/keymatch_policy.csv)
+Deny-override |
[rbac_model_with_deny.conf](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_deny_model.conf)
|
[rbac_policy_with_deny.csv](https://github.com/apache/casbin-rs/blob/master/examples/rbac_with_deny_policy.csv)
+Priority |
[priority_model.conf](https://github.com/apache/casbin-rs/blob/master/examples/priority_model.conf)
|
[priority_policy.csv](https://github.com/apache/casbin-rs/blob/master/examples/priority_policy.csv)
## Middlewares
@@ -217,11 +217,11 @@ https://casbin.org/docs/adopters
## Contributors
This project exists thanks to all the people who contribute.
-<a href="https://github.com/casbin/casbin-rs/graphs/contributors"><img
src="https://opencollective.com/casbin-rs/contributors.svg?width=890&button=false"
/></a>
+<a href="https://github.com/apache/casbin-rs/graphs/contributors"><img
src="https://opencollective.com/casbin-rs/contributors.svg?width=890&button=false"
/></a>
## Star History
-[](https://star-history.com/#casbin/casbin-rs&Date)
+[](https://star-history.com/#apache/casbin-rs&Date)
## License
@@ -230,5 +230,5 @@ This project is licensed under the [Apache 2.0
license](LICENSE).
## Contact
If you have any issues or feature requests, please contact us. PR is welcomed.
-- https://github.com/casbin/casbin-rs/issues
+- https://github.com/apache/casbin-rs/issues
- https://discord.gg/S5UjpzGZjN
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]