|
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 |
|
|
0395b7e1a9
|
feat: migrate permission data (#1083)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Co-authored-by: Yang Luo <hsluoyz@qq.com>
|
2022-09-03 16:45:58 +08:00 |
|
|
e266696b32
|
feat: add default permission to built-in group (#1087)
* fix: add default permission
* fix: add default permission
* fix: add default permission
|
2022-09-02 12:03:13 +08:00 |
|
|
80c0940e30
|
feat: initialize the default permission (#1029)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
|
2022-08-19 11:59:35 +08:00 |
|
|
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 |
|
|
c92d34e27c
|
Add GetPermissionsBySubmitter()
|
2022-08-15 14:09:12 +08:00 |
|
|
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 |
|
|
f914e8e929
|
Add permission_enforcer.go
|
2022-08-07 23:57:06 +08:00 |
|
|
dc33b41107
|
feat: expose some casbin APIs (#955)
* feat: expose some casbin APIs
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: add BatchEnforce API
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: solve requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
|
2022-08-07 23:42:45 +08:00 |
|
|
155660b0d7
|
feat: get user api return roles and permissions (#929)
|
2022-07-30 17:31:56 +08:00 |
|
|
2bca424370
|
feat: implement access control using casbin (#806)
* feat: implement access control using casbin
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* chore: sort imports
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: remove
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* Update auth.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
|
2022-07-13 00:34:35 +08:00 |
|
|
d52caed3a9
|
feat: add model page (#757)
* feat: add model page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: support config model for permission
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* translation and indentation
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
|
2022-05-24 18:27:47 +08:00 |
|
|
db37f53d6c
|
Update license headers.
|
2022-02-13 23:39:27 +08:00 |
|
|
5ec0c7a890
|
fix: fix the SQL injection vulnerability in field filter (#442)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
|
2022-01-26 19:36:36 +08:00 |
|
|
c22ab44894
|
Update import path.
|
2022-01-20 14:11:46 +08:00 |
|
|
9b6131890c
|
Add permission page.
|
2022-01-01 16:28:33 +08:00 |
|