Qiu Jian
|
bc02b3b433
|
1.
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
|
2018-11-30 23:00:11 +08:00 |
|
Yousong Zhou
|
46c6693244
|
dnsrecords: unexport GetRecordsType()
|
2018-10-25 09:41:37 +00:00 |
|
Yousong Zhou
|
3de4afe4fc
|
dnsrecords: move name,value checks to a single place
|
2018-10-25 09:37:43 +00:00 |
|
Yousong Zhou
|
0031b533b7
|
dnsrecords: record value of cname, ptr cannot be ip address
|
2018-10-25 09:18:09 +00:00 |
|
Yousong Zhou
|
bf13ef59b3
|
dnsrecords: name must not be ip address
|
2018-10-25 09:14:37 +00:00 |
|
Yousong Zhou
|
f8098f0815
|
dnsrecords: targets of srv records cannot be ip address
It's required by rfc spec and followed also by other players. coredns
itself will choke SERVFAIL when serv.Key == ""
|
2018-10-25 08:10:44 +00:00 |
|
邱剑
|
ea6ab42eb9
|
Merge pull request #331 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-reformat-long-codes to release/2.3.0
* commit 'd50d363d948c7efe05345ff7981b47b759deabe0':
minor fixes
增加keystone policy资源,格式化代码
|
2018-10-20 22:36:08 +08:00 |
|
Qiu Jian
|
0b17fe3547
|
增加keystone policy资源,格式化代码
|
2018-10-20 21:29:52 +08:00 |
|
Yousong Zhou
|
988c120c2a
|
dnsrecords: enforce validation of priority,weight range
|
2018-10-19 13:46:30 +00:00 |
|
Yousong Zhou
|
a8d4cb2513
|
dnsrecords: support multiple srv records
- multiple srv records with SRV.n
- deprecate but maintain compat with SRV_host, SRV_port
- update records support
|
2018-10-18 15:59:37 +00:00 |
|
Yousong Zhou
|
d6cd05079e
|
dnsrecords: add enabled field
CLOUD-586
|
2018-10-16 09:11:43 +00:00 |
|
Yousong Zhou
|
f23c0257cd
|
dnsrecords: do not log NotFound as error
|
2018-08-24 10:44:54 +00:00 |
|
Zexi Li
|
22411ffb53
|
path move: github.com/yunionio -> yunion.io/x
|
2018-08-11 14:28:18 +08:00 |
|
Zexi Li
|
217f5a65ef
|
- k8s client util
- dns config sample
|
2018-08-06 12:08:29 +08:00 |
|
Zexi Li
|
b5275a0c29
|
- mv mcclient to pkg/mcclient
- vendor update
|
2018-08-01 14:13:23 +08:00 |
|
Zexi Li
|
37624f11e2
|
Add region service.
|
2018-07-30 12:27:27 +08:00 |
|
Zexi Li
|
8ba5ffe1b4
|
compute models added.
|
2018-07-27 20:44:26 +08:00 |
|