

@pytest.fixture
def user_admin_perm_to_auditors(session, groups):
    'Adds a USER_ADMIN permission to the "auditors" group'
    (user_admin_perm, is_new) = Permission.get_or_create(session, name=USER_ADMIN, description='')
    session.commit()
    grant_permission(session['auditors'], user_admin_perm)

dataset/ETHPy150Open dropbox/grouper/tests/test_users.py user_admin_perm_to_auditors/VarMisuse@48/85 `groups`->`session`