Skip to content

Commit e23e19b

Browse files
committed
feat: update repo URLs
1 parent 3c0d29c commit e23e19b

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# jCasbin
22

3-
[![GitHub Actions](https://github.com/casbin/jcasbin/workflows/build/badge.svg)](https://github.com/casbin/jcasbin/actions)
4-
[![codecov](https://codecov.io/gh/casbin/jcasbin/branch/master/graph/badge.svg?token=pKOEodQ3q9)](https://codecov.io/gh/casbin/jcasbin)
3+
[![GitHub Actions](https://github.com/apache/casbin-jcasbin/workflows/build/badge.svg)](https://github.com/apache/casbin-jcasbin/actions)
4+
[![codecov](https://codecov.io/gh/apache/casbin-jcasbin/branch/master/graph/badge.svg?token=pKOEodQ3q9)](https://codecov.io/gh/apache/casbin-jcasbin)
55
[![javadoc](https://javadoc.io/badge2/org.casbin/jcasbin/javadoc.svg)](https://javadoc.io/doc/org.casbin/jcasbin)
66
[![Maven Central](https://img.shields.io/maven-central/v/org.casbin/jcasbin.svg)](https://mvnrepository.com/artifact/org.casbin/jcasbin/latest)
7-
[![Release](https://img.shields.io/github/release/casbin/jcasbin.svg)](https://github.com/casbin/jcasbin/releases/latest)
7+
[![Release](https://img.shields.io/github/release/apache/casbin-jcasbin.svg)](https://github.com/apache/casbin-jcasbin/releases/latest)
88
[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](https://discord.gg/S5UjpzGZjN)
99

1010
**News**: still worry about how to write the correct jCasbin policy? `Casbin online editor` is coming to help! Try it at: https://casbin.org/editor/
@@ -15,9 +15,9 @@ jCasbin is a powerful and efficient open-source access control library for Java
1515

1616
## All the languages supported by Casbin:
1717

18-
| [![golang](https://casbin.org/img/langs/golang.png)](https://github.com/casbin/casbin) | [![java](https://casbin.org/img/langs/java.png)](https://github.com/casbin/jcasbin) | [![nodejs](https://casbin.org/img/langs/nodejs.png)](https://github.com/casbin/node-casbin) | [![php](https://casbin.org/img/langs/php.png)](https://github.com/php-casbin/php-casbin) |
18+
| [![golang](https://casbin.org/img/langs/golang.png)](https://github.com/casbin/casbin) | [![java](https://casbin.org/img/langs/java.png)](https://github.com/apache/casbin-jcasbin) | [![nodejs](https://casbin.org/img/langs/nodejs.png)](https://github.com/casbin/node-casbin) | [![php](https://casbin.org/img/langs/php.png)](https://github.com/php-casbin/php-casbin) |
1919
|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
20-
| [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) |
20+
| [Casbin](https://github.com/casbin/casbin) | [jCasbin](https://github.com/apache/casbin-jcasbin) | [node-Casbin](https://github.com/casbin/node-casbin) | [PHP-Casbin](https://github.com/php-casbin/php-casbin) |
2121
| production-ready | production-ready | production-ready | production-ready |
2222

2323
| [![python](https://casbin.org/img/langs/python.png)](https://github.com/casbin/pycasbin) | [![dotnet](https://casbin.org/img/langs/dotnet.png)](https://github.com/casbin-net/Casbin.NET) | [![c++](https://casbin.org/img/langs/cpp.png)](https://github.com/casbin/casbin-cpp) | [![rust](https://casbin.org/img/langs/rust.png)](https://github.com/casbin/casbin-rs) |
@@ -164,14 +164,14 @@ Note: you can also initialize an enforcer with policy in DB instead of file, see
164164

165165
See [Policy management APIs](#policy-management) for more usage.
166166

167-
4. Please refer to the [src/test](https://github.com/casbin/jcasbin/tree/master/src/test) package for more usage.
167+
4. Please refer to the [src/test](https://github.com/apache/casbin-jcasbin/tree/master/src/test) package for more usage.
168168

169169
## Policy management
170170

171171
jCasbin provides two sets of APIs to manage permissions:
172172

173-
- [Management API](https://github.com/casbin/jcasbin/blob/master/src/main/java/org/casbin/jcasbin/main/ManagementEnforcer.java): the primitive API that provides full support for jCasbin policy management. See [here](https://github.com/casbin/jcasbin/blob/master/src/test/java/org/casbin/jcasbin/main/ManagementAPIUnitTest.java) for examples.
174-
- [RBAC API](https://github.com/casbin/jcasbin/blob/master/src/main/java/org/casbin/jcasbin/main/Enforcer.java): 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/jcasbin/blob/master/src/test/java/org/casbin/jcasbin/main/RbacAPIUnitTest.java) for examples.
173+
- [Management API](https://github.com/apache/casbin-jcasbin/blob/master/src/main/java/org/casbin/jcasbin/main/ManagementEnforcer.java): the primitive API that provides full support for jCasbin policy management. See [here](https://github.com/apache/casbin-jcasbin/blob/master/src/test/java/org/casbin/jcasbin/main/ManagementAPIUnitTest.java) for examples.
174+
- [RBAC API](https://github.com/apache/casbin-jcasbin/blob/master/src/main/java/org/casbin/jcasbin/main/Enforcer.java): 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-jcasbin/blob/master/src/test/java/org/casbin/jcasbin/main/RbacAPIUnitTest.java) for examples.
175175

176176
We also provide a [web-based UI](https://github.com/casbin/web-ui) for model management and policy management:
177177

@@ -228,17 +228,17 @@ If an expression contains restricted syntax, it will be logged as a warning and
228228

229229
| Model | Model file | Policy file |
230230
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
231-
| ACL | [basic_model.conf](https://github.com/casbin/jcasbin/blob/master/examples/basic_model.conf) | [basic_policy.csv](https://github.com/casbin/jcasbin/blob/master/examples/basic_policy.csv) |
232-
| ACL with superuser | [basic_model_with_root.conf](https://github.com/casbin/jcasbin/blob/master/examples/basic_with_root_model.conf) | [basic_policy.csv](https://github.com/casbin/jcasbin/blob/master/examples/basic_policy.csv) |
233-
| ACL without users | [basic_model_without_users.conf](https://github.com/casbin/jcasbin/blob/master/examples/basic_without_users_model.conf) | [basic_policy_without_users.csv](https://github.com/casbin/jcasbin/blob/master/examples/basic_without_users_policy.csv) |
234-
| ACL without resources | [basic_model_without_resources.conf](https://github.com/casbin/jcasbin/blob/master/examples/basic_without_resources_model.conf) | [basic_policy_without_resources.csv](https://github.com/casbin/jcasbin/blob/master/examples/basic_without_resources_policy.csv) |
235-
| RBAC | [rbac_model.conf](https://github.com/casbin/jcasbin/blob/master/examples/rbac_model.conf) | [rbac_policy.csv](https://github.com/casbin/jcasbin/blob/master/examples/rbac_policy.csv) |
236-
| RBAC with resource roles | [rbac_model_with_resource_roles.conf](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_resource_roles_model.conf) | [rbac_policy_with_resource_roles.csv](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_resource_roles_policy.csv) |
237-
| RBAC with domains/tenants | [rbac_model_with_domains.conf](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_domains_model.conf) | [rbac_policy_with_domains.csv](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_domains_policy.csv) |
238-
| ABAC | [abac_model.conf](https://github.com/casbin/jcasbin/blob/master/examples/abac_model.conf) | N/A |
239-
| RESTful | [keymatch_model.conf](https://github.com/casbin/jcasbin/blob/master/examples/keymatch_model.conf) | [keymatch_policy.csv](https://github.com/casbin/jcasbin/blob/master/examples/keymatch_policy.csv) |
240-
| Deny-override | [rbac_model_with_deny.conf](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_deny_model.conf) | [rbac_policy_with_deny.csv](https://github.com/casbin/jcasbin/blob/master/examples/rbac_with_deny_policy.csv) |
241-
| Priority | [priority_model.conf](https://github.com/casbin/jcasbin/blob/master/examples/priority_model.conf) | [priority_policy.csv](https://github.com/casbin/jcasbin/blob/master/examples/priority_policy.csv) |
231+
| ACL | [basic_model.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_model.conf) | [basic_policy.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_policy.csv) |
232+
| ACL with superuser | [basic_model_with_root.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_with_root_model.conf) | [basic_policy.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_policy.csv) |
233+
| ACL without users | [basic_model_without_users.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_without_users_model.conf) | [basic_policy_without_users.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_without_users_policy.csv) |
234+
| ACL without resources | [basic_model_without_resources.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_without_resources_model.conf) | [basic_policy_without_resources.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/basic_without_resources_policy.csv) |
235+
| RBAC | [rbac_model.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_model.conf) | [rbac_policy.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_policy.csv) |
236+
| RBAC with resource roles | [rbac_model_with_resource_roles.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_resource_roles_model.conf) | [rbac_policy_with_resource_roles.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_resource_roles_policy.csv) |
237+
| RBAC with domains/tenants | [rbac_model_with_domains.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_domains_model.conf) | [rbac_policy_with_domains.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_domains_policy.csv) |
238+
| ABAC | [abac_model.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/abac_model.conf) | N/A |
239+
| RESTful | [keymatch_model.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/keymatch_model.conf) | [keymatch_policy.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/keymatch_policy.csv) |
240+
| Deny-override | [rbac_model_with_deny.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_deny_model.conf) | [rbac_policy_with_deny.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/rbac_with_deny_policy.csv) |
241+
| Priority | [priority_model.conf](https://github.com/apache/casbin-jcasbin/blob/master/examples/priority_model.conf) | [priority_policy.csv](https://github.com/apache/casbin-jcasbin/blob/master/examples/priority_policy.csv) |
242242

243243
## Middlewares
244244

@@ -266,11 +266,11 @@ https://github.com/jcasbin/casbin-spring-boot-starter
266266
## Contributors
267267

268268
This project exists thanks to all the people who contribute.
269-
<a href="https://github.com/casbin/jcasbin/graphs/contributors"><img src="https://opencollective.com/jcasbin/contributors.svg?width=890&button=false" /></a>
269+
<a href="https://github.com/apache/casbin-jcasbin/graphs/contributors"><img src="https://opencollective.com/jcasbin/contributors.svg?width=890&button=false" /></a>
270270

271271
## Star History
272272

273-
[![Star History Chart](https://star-history.dera.page/svg?repos=casbin/jcasbin&type=Date)](https://star-history.dera.page/#casbin/jcasbin&type=date)
273+
[![Star History Chart](https://star-history.dera.page/svg?repos=apache/casbin-jcasbin&type=Date)](https://star-history.dera.page/#apache/casbin-jcasbin&type=date)
274274

275275
## License
276276

@@ -280,5 +280,5 @@ This project is licensed under the [Apache 2.0 license](LICENSE).
280280

281281
If you have any issues or feature requests, please contact us. PR is welcomed.
282282

283-
- https://github.com/casbin/jcasbin/issues
283+
- https://github.com/apache/casbin-jcasbin/issues
284284
- https://discord.gg/S5UjpzGZjN

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<issueManagement>
1515
<system>Github</system>
16-
<url>https://github.com/casbin/jcasbin/issues</url>
16+
<url>https://github.com/apache/casbin-jcasbin/issues</url>
1717
</issueManagement>
1818

1919
<parent>
@@ -29,9 +29,9 @@
2929
</license>
3030
</licenses>
3131
<scm>
32-
<url>https://github.com/casbin/jcasbin</url>
33-
<connection>scm:git@github.com:casbin/jcasbin.git</connection>
34-
<developerConnection>scm:git:https://github.com/casbin/jcasbin.git</developerConnection>
32+
<url>https://github.com/apache/casbin-jcasbin</url>
33+
<connection>scm:git@github.com:apache/casbin-jcasbin.git</connection>
34+
<developerConnection>scm:git:https://github.com/apache/casbin-jcasbin.git</developerConnection>
3535
</scm>
3636
<developers>
3737
<developer>

0 commit comments

Comments
 (0)