Commit Graph
83 Commits
Author SHA1 Message Date
Qiu Jian 133c721f02 fix: add default network project privileges 2019-07-09 14:59:19 +08:00
Jian Qiu b0605113da fix: misc bugfxi for quotas (#1290) 2019-06-18 22:51:38 +08:00
Qiu Jian 2dd12cc14f fix: misc 2019-06-18 10:32:43 +08:00
Qiu Jian f414d4090a fix: 1. project add user/group rpc paramter error 2. secgrouprule 403 3. 2019-06-13 14:08:59 +08:00
Qiu Jian 9670446a21 fix: 1. zone/region capability containts by domain 2. yunionconf query
scope fixes
2019-06-11 01:31:59 +08:00
Jian Qiu 40c4bd2a0b fix: 1. 403 on zone/capabilities, parameters (#1097)
* fix: 1. 403 on zone/capabilities, parameters

* fix keystone authenticate error

* fix: endpoint add type console
2019-06-09 00:52:58 +08:00
Qiu Jian 74c6a131a4 fix: numerous incorrect privilege issues 2019-06-06 03:23:03 +08:00
Qiu Jian 292c2a141c fix: bugs in scope support 2019-06-04 23:27:55 +08:00
Qiu Jian a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
Jian Qiu 72c13b8e39 3level priviliges bufixes 20190603 (#1036) 2019-06-03 12:30:58 +08:00
Jian Qiu 81b9cac556 fix: misc 3level priviliges bugfixes (#1026)
* fix: misc 3level priviliges bugfixes

* misc bugfixes

* misc bugfixes
2019-06-02 08:05:11 +08:00
Jian Qiu bff3ba9b16 fix: keystone fernet setup bugs and other bugs (#1022) 2019-06-01 17:31:20 +08:00
Qiu Jian e112c4f567 minor fixes 2019-05-31 14:10:56 +08:00
Qiu Jian b8e6598ac6 fix: add keystone initialization procedures 2019-05-31 14:01:41 +08:00
Qiu Jian 9d3cce46a8 feature: keystone support phase 1 2019-05-31 14:00:58 +08:00
Qiu Jian d8e492ee5a misc fixes 2019-05-31 13:56:02 +08:00
Qiu Jian b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian afabf0396f fix: add keystone initialization procedures 2019-05-31 13:52:12 +08:00
Qiu Jian 93e9d9a34b feature: keystone support phase 1 2019-05-31 13:52:12 +08:00
Qiu Jian 2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +08:00
Qiu Jian 5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
Qiu Jian 5e4ac465d5 remove comments 2019-04-17 09:29:58 +08:00
Qiu Jian 037d37d0e3 fix: pkg/cloudcommon/policy/ go test failure 2019-04-17 09:29:58 +08:00
Zexi db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
Jian Qiu 0a0a44b48d fix: anonymous user may have admin priviliges (#124) 2019-03-31 15:24:41 +08:00
Qiu Jian fefdb706f3 fix: the default policy for actions not matching any rule defaults to allow 2019-03-29 20:45:38 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
屈轩 56f8d57428 添加普通用户查看metadata权限 2019-03-22 11:54:33 +08:00
Qiu Jian 78faed91a4 fix: SyncOnce should invalidate policy cache 2019-03-21 11:29:30 +08:00
Qiu Jian 9d966e9959 minor updates 2019-03-21 01:06:33 +08:00
Qiu Jian 06ae94ebe3 fix: simplify rbac policy condition to match projects and roles 2019-03-21 01:03:51 +08:00
Yousong Zhou 8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
Yousong Zhou 07f98779ad treewide: s/HasSystemAdminPrivelege/HasSystemAdminPrivilege/g 2019-03-12 03:39:20 +00:00
Qiu Jian 4c6f196ec5 Merge branch 'release/2.6.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-image-p2p-distribution
Conflicts:
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/policy/defaults.go
	pkg/util/sysutils/sysutils.go
2019-02-15 22:46:01 +08:00
Qiu Jian eaeb41a2d7 fix misc logger bugs 2019-02-12 14:50:58 +08:00
Qiu Jian 0e3f2e160c temp commit 2019-01-30 21:06:48 +08:00
Qiu Jian d1b9f1f5c6 允许普通用户获取cachedimages列表 2019-01-23 21:25:44 +08:00
Qiu Jian 305baf5d5f update vendor 2019-01-16 18:04:40 +08:00
Qiu Jian 051f5fcb6b minor fixes 2019-01-05 16:22:09 +08:00
邱剑 9422e59ed1 Automatic merge from release/2.4.0 -> release/2.5.0
* commit '9918896ac3aaf67572338b66eb1133c99142265a':
  补充admin resource列表
2019-01-03 12:28:11 +08:00
Qiu Jian e6c93767f0 补充admin resource列表 2019-01-02 21:25:46 +08:00
Qiu Jian f413e9c6b4 修正image和yunionconf默认权限 2019-01-01 00:48:04 +08:00
Qiu Jian a99ded14e3 minor fixes 2018-12-27 00:07:15 +08:00
Qiu Jian f489e67af6 修正:rbac每次获取policy失败后,会time.After两次回调 2018-12-26 18:50:31 +08:00
Qiu Jian c7ac542061 在2.4把owner_allow的权限表示从allow改回owner 2018-12-26 11:39:58 +08:00
Qiu Jian 957bc822ac 修正:可以通过SyncOnce方法强制刷新policy缓存 2018-12-25 20:13:31 +08:00
邱剑 f10b31c0bd Merge pull request #834 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/client-session-add-ctx to release/2.4.0
* commit '742a67b0f847813c5fa7245514330f44bbef0486':
  client session add context
2018-12-25 15:25:52 +08:00
wanyaoqi 742a67b0f8 client session add context 2018-12-25 13:33:33 +08:00
Qiu Jian de2ecb6be7 修正:policy默认采用json解码,只有climc才采用yaml 2018-12-24 23:31:24 +08:00
Qiu Jian 396fda7cf8 minor updates 2018-12-24 12:33:58 +08:00