File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 33import sys
44
55
6- __version__ = "4.4.31dev1 "
6+ __version__ = "4.4.31dev2 "
77
88os .environ .update ({"sa_version" : __version__ })
99sys .path .append (os .path .split (os .path .realpath (__file__ ))[0 ])
Original file line number Diff line number Diff line change @@ -148,10 +148,12 @@ def sync(self, project: ProjectEntity):
148148 roles = response .data ["data" ]
149149 self ._K_V_map [project .id ] = {
150150 "role_name_id_map" : {
151- role ["role" ]["name" ]: role ["role_id" ] for role in roles
151+ ** {role ["role" ]["name" ]: role ["role_id" ] for role in roles },
152+ "ProjectAdmin" : 3
152153 },
153154 "role_id_name_map" : {
154- role ["role_id" ]: role ["role" ]["name" ] for role in roles
155+ ** {role ["role_id" ]: role ["role" ]["name" ] for role in roles },
156+ 3 : "ProjectAdmin"
155157 },
156158 }
157159 self ._update_cache_timestamp (project .id )
You can’t perform that action at this time.
0 commit comments