Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
cafd0b0293dde6c6404e1d6e3566f2f491a42086
/
.
/
plstackapi
/
importer
/
plclassic
/
user_importer.py
blob: 21d74b6ea577df9d2e654046af4057f86f751541 [
file
] [
log
] [
blame
]
class
UserImporter
:
def
__init__
(
self
,
api
):
self
.
api
=
api
self
.
users
=
{}
def
run
(
self
):
users
=
self
.
api
.
GetPersons
()
def
save_site_privs
(
self
,
user
):
# update site roles
pass
def
save_slice_privs
(
self
,
user
):
# update slice roles
pass