You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,14 +164,14 @@ Note: you can also initialize an enforcer with policy in DB instead of file, see
164
164
165
165
See [Policy management APIs](#policy-management) for more usage.
166
166
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.
168
168
169
169
## Policy management
170
170
171
171
jCasbin provides two sets of APIs to manage permissions:
172
172
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.
175
175
176
176
We also provide a [web-based UI](https://github.com/casbin/web-ui) for model management and policy management:
177
177
@@ -228,17 +228,17 @@ If an expression contains restricted syntax, it will be logged as a warning and
| 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)|
| 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)|
| 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)|
| 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)|
[](https://star-history.dera.page/#casbin/jcasbin&type=date)
273
+
[](https://star-history.dera.page/#apache/casbin-jcasbin&type=date)
274
274
275
275
## License
276
276
@@ -280,5 +280,5 @@ This project is licensed under the [Apache 2.0 license](LICENSE).
280
280
281
281
If you have any issues or feature requests, please contact us. PR is welcomed.
0 commit comments