Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Migrations

Pacu29a51ab616530
diff --git a/saleor/account/migrations/0023_auto_20180719_0520.py b/saleor/account/migrations/0023_auto_20180719_0520.py
new file mode 100644
index 0000000000..7f30546b84
--- /dev/null
+++ b/saleor/account/migrations/0023_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('account', '0022_auto_20180718_0956'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='user',
+ options={'permissions': (('manage_users', 'Capability to view, create, modify, and delete customers.'), ('manage_staff', 'Capability to view, create, modify and delete staff users.'), ('impersonate_users', 'Capability to impersonate the customers.'))},
+ ),
+ ]
diff --git a/saleor/discount/migrations/0009_auto_20180719_0520.py b/saleor/discount/migrations/0009_auto_20180719_0520.py
new file mode 100644
index 0000000000..16a9c31b49
--- /dev/null
+++ b/saleor/discount/migrations/0009_auto_20180719_0520.py
@@ -0,0 +1,21 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('discount', '0008_sale_collections'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='sale',
+ options={'permissions': (('manage_discounts', 'Capability to view, create, modify, and delete sales and vouchers.'),)},
+ ),
+ migrations.AlterModelOptions(
+ name='voucher',
+ options={},
+ ),
+ ]
diff --git a/saleor/menu/migrations/0005_auto_20180719_0520.py b/saleor/menu/migrations/0005_auto_20180719_0520.py
new file mode 100644
index 0000000000..aeb63544bf
--- /dev/null
+++ b/saleor/menu/migrations/0005_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('menu', '0004_sort_order_index'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='menu',
+ options={'permissions': (('manage_menus', 'Capability to view, create, modify, and delete menus.'),)},
+ ),
+ ]
diff --git a/saleor/order/migrations/0049_auto_20180719_0520.py b/saleor/order/migrations/0049_auto_20180719_0520.py
new file mode 100644
index 0000000000..9127e79860
--- /dev/null
+++ b/saleor/order/migrations/0049_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('order', '0048_auto_20180629_1055'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='order',
+ options={'ordering': ('-pk',), 'permissions': (('manage_orders', 'Capability to view, create, and modify orders, fullfillments, and order notifications.'),)},
+ ),
+ ]
diff --git a/saleor/order/models.py b/saleor/order/models.py
index aedb96803e..65291cc111 100644
--- a/saleor/order/models.py
+++ b/saleor/order/models.py
@@ -99,8 +99,8 @@ class Order(models.Model):
'manage_orders',
pgettext_lazy(
'Permission description',
- 'Create, view, modify, and delete orders, fullfillments, and '
- 'order notifications.')),)
+ 'Capability to view, create, and modify orders, '
+ 'fullfillments, and order notifications.')),)
def save(self, *args, **kwargs):
if not self.token:
diff --git a/saleor/page/migrations/0003_auto_20180719_0520.py b/saleor/page/migrations/0003_auto_20180719_0520.py
new file mode 100644
index 0000000000..0b4c9f9b97
--- /dev/null
+++ b/saleor/page/migrations/0003_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('page', '0002_auto_20180321_0417'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='page',
+ options={'ordering': ('slug',), 'permissions': (('manage_pages', 'Capability to create, modify, and delete pages.'),)},
+ ),
+ ]
diff --git a/saleor/product/migrations/0065_auto_20180719_0520.py b/saleor/product/migrations/0065_auto_20180719_0520.py
new file mode 100644
index 0000000000..4e53ec012d
--- /dev/null
+++ b/saleor/product/migrations/0065_auto_20180719_0520.py
@@ -0,0 +1,21 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('product', '0064_productvariant_handle_stock'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='category',
+ options={},
+ ),
+ migrations.AlterModelOptions(
+ name='product',
+ options={'permissions': (('manage_products', 'Capability to view, create, and modify products, collections, and categories. Access to inventory and inventory management.'),)},
+ ),
+ ]
diff --git a/saleor/shipping/migrations/0010_auto_20180719_0520.py b/saleor/shipping/migrations/0010_auto_20180719_0520.py
new file mode 100644
index 0000000000..452158a0d0
--- /dev/null
+++ b/saleor/shipping/migrations/0010_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('shipping', '0009_auto_20180629_1055'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='shippingmethod',
+ options={'permissions': (('manage_shipping', 'Capability to view, create, modify, and delete shipping methods.'),)},
+ ),
+ ]
diff --git a/saleor/site/migrations/0016_auto_20180719_0520.py b/saleor/site/migrations/0016_auto_20180719_0520.py
new file mode 100644
index 0000000000..1d631f1308
--- /dev/null
+++ b/saleor/site/migrations/0016_auto_20180719_0520.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.3 on 2018-07-19 10:20
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('site', '0015_sitesettings_handle_stock_by_default'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='sitesettings',
+ options={'permissions': (('manage_settings', 'Capability to view and modify the settings section.'),)},
+ ),
+ ]