2bcab5d098
- moved all server related things into the folder `server`, so this configuration is parallel to the client. - All main "services" are now folders in the root directory - Added Dockerfiles to each service (currently server and client) - Added a docker compose configuration to start everything together. Currently there are heavy dependencies into https://github.com/OpenSlides/openslides-docker-compose - Resturctured the .gitignore. If someone needs something excluded, please add it to the right section. - Added initial build setup with Docker and docker-compose. - removed setup.py. We won't deliver OpenSlides via pip anymore.
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.7 on 2017-08-18 10:02
|
|
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 = [("agenda", "0002_item_duration")]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name="item",
|
|
options={
|
|
"default_permissions": (),
|
|
"permissions": (
|
|
("can_see", "Can see agenda"),
|
|
("can_manage", "Can manage agenda"),
|
|
("can_manage_list_of_speakers", "Can manage list of speakers"),
|
|
(
|
|
"can_see_hidden_items",
|
|
"Can see hidden items and time scheduling of agenda",
|
|
),
|
|
),
|
|
},
|
|
),
|
|
migrations.RunPython(
|
|
add_permission_to_groups_based_on_existing_permission(
|
|
"can_manage",
|
|
"item",
|
|
"agenda",
|
|
"can_manage_list_of_speakers",
|
|
"Can manage list of speakers",
|
|
)
|
|
),
|
|
]
|