git://git.onelab.eu
/
plstackapi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
spelling
[plstackapi.git]
/
plstackapi
/
importer
/
plclassic
/
user_importer.py
1
2
class UserImporter:
3
4
def __init__(self, api):
5
self.api = api
6
self.users = {}
7
8
def run(self):
9
users = self.api.GetPersons()
10
11
def save_site_privs(self, user):
12
# update site roles
13
pass
14
15
def save_slice_privs(self, user):
16
# update slice roles
17
pass
18
19