Fixing a few errors.

* Fixing organizational_unit and common name

* FIxing organization name and allow creaters to view CA.
This commit is contained in:
kevgliss
2016-06-29 16:16:37 -07:00
committed by GitHub
parent afb66df1a4
commit 9aec899bfd
2 changed files with 5 additions and 2 deletions

View File

@ -98,6 +98,8 @@ def create(**kwargs):
kwargs['creator'] = g.user.email
body, private_key, chain, roles = mint(**kwargs)
g.user.roles = list(set(list(g.user.roles) + roles))
kwargs['body'] = body
kwargs['private_key'] = private_key
kwargs['chain'] = chain