Commit 4c8a8487 authored by Marcus's avatar Marcus

add primary user group object to user

parent acab03c4
......@@ -40,9 +40,11 @@ class User: = data if isinstance(data, UserInfo) else UserInfo(data)
self.service_user = backend.User(
self.service_groups = [backend.Group(grp) for grp in]
self.service_user.primary_group = backend.Group(UserInfo(data).primary_group)"/--------------------------------------------------------------------------------\\")"primary group: {UserInfo(data).primary_group}")"primary group from service_user: {self.service_user.primary_group}")"--------------------------------------------------------------------------------")"self.service_groups: ")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment