Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
2698e6a728ef8040f4fdf605a6892e79a2e76b12
/
.
/
planetstack
/
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