Commit facdabd3 authored by Marcus's avatar Marcus

add extensive logging

parent 5459c8d9
......@@ -41,6 +41,15 @@ class User:
self.service_user = backend.User(self.data)
self.service_groups = [backend.Group(grp) for grp in self.data.groups]
logger.info("/--------------------------------------------------------------------------------\\")
logger.info(F"primary group: {UserInfo(data).primary_group}")
logger.info("--------------------------------------------------------------------------------")
logger.info("self.service_groups: ")
for group in self.service_groups:
logger.info(F" {group.name}")
logger.info("\\--------------------------------------------------------------------------------/")
def assurance_verifier(self):
"""Produce a suitably function to check if a user is allowed.
......
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