Replace KUser::isSuperUser with getuid() == 0. This may already be done, or may be partly done.
Also convert KUser::groupNames to get_groups()
Log in to post a comment.
Also convert KUser::groupNames to get_groups()