June
eddd8acbf4
feat: update permission rule when role updated ( #1477 )
2023-01-17 10:27:02 +08:00
Yaodong Yu
d0741e3705
feat: fix compatibility issue between Casbin request and model ( #1478 )
2023-01-15 12:06:10 +08:00
imp2002
d668022af0
feat: fix length of policy and [policy_define]
in model
inconsistent ( #1400 )
2022-12-15 20:42:55 +08:00
imp2002
812c44e070
feat: add and load policy within a specific permission ( #1357 )
...
* fix: add and load policy with a specific permission
* fix: use a clear variable name
2022-12-05 17:07:10 +08:00
imp2002
78e45d07cf
fix: support RBAC With Domains/Tenants ( #1333 )
...
* feat: support RBAC With Domains/Tenants
* fix: add verify for `UpdatePermission`
* Update permission.go
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-05 16:08:17 +08:00
Mr Forest
27bd771fed
feat: handle the dataSourceName when DB changes ( #1352 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
2022-12-02 22:20:18 +08:00
会思考的下丘脑
56ff06bbea
feat: add parameter v0 for Casbin APIs ( #1315 )
2022-11-23 22:39:17 +08:00
WangGuan
ceabbe27b4
feat: remove p_type in table permission_rule ( #1165 )
2022-09-27 22:50:27 +08:00
Gucheng
5707e38912
feat: add batchSize to conf ( #1120 )
2022-09-13 20:31:22 +08:00
Yixiang Zhao
8e9ed1205b
feat: support RBAC with domains model and add adapter to specify the table name for policy storage ( #1020 )
...
* feat: support RBAC with domains model and add adapter to specify the table name for policy storage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix some bugs
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* add i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-08-18 11:49:32 +08:00
Yixiang Zhao
dfbf7753c3
feat: support RBAC model in permission ( #1006 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-08-15 10:24:26 +08:00
Gucheng Wang
f914e8e929
Add permission_enforcer.go
2022-08-07 23:57:06 +08:00