10b3bb6497
* geis does not work with channels2 and never will be (it has to be python now) * pytest * rewrote cache system * use username instead of pk for admin user in tests
33 lines
926 B
Python
33 lines
926 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.5 on 2017-04-12 10:58
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations
|
|
|
|
from openslides.utils.migrations import (
|
|
add_permission_to_groups_based_on_existing_permission,
|
|
)
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0004_auto_20170215_1624'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='configstore',
|
|
options={
|
|
'default_permissions': (),
|
|
'permissions': (
|
|
('can_manage_config', 'Can manage configuration'),
|
|
('can_manage_logos', 'Can manage logos')
|
|
)
|
|
},
|
|
),
|
|
migrations.RunPython(add_permission_to_groups_based_on_existing_permission(
|
|
'can_manage_config', 'configstore', 'core', 'can_manage_logos', 'Can manage logos'
|
|
)),
|
|
]
|