tcms.utils.permissions module

tcms.utils.permissions.assign_default_group_permissions(output=None, refresh_all=False)[source]

Adds the default permissions for Administrator and Tester groups!

tcms.utils.permissions.generate_output(output, permissions, group)[source]

Generates verbose output for added permissions

tcms.utils.permissions.initiate_user_with_default_setups(user)[source]

Add default groups, permissions, status to a newly created user.