eeintech
|
5a6cac43f5
|
Updated migration
|
2020-10-16 15:42:23 -05:00 |
|
eeintech
|
0b26d68d0f
|
Added admin view, improved validation of part related relationship
|
2020-10-16 15:29:58 -05:00 |
|
eeintech
|
34e4409e7f
|
Functional checkpoint: add/delete related parts from template
|
2020-10-16 13:50:31 -05:00 |
|
eeintech
|
8579abb9c2
|
Added related parts urls, views, form and templates
Adding related part relationships work but are still not shown in the part detail page
|
2020-10-15 16:58:39 -05:00 |
|
eeintech
|
3d9223c2ee
|
Introduced PartRelated model to store part relationships
|
2020-10-15 14:11:24 -05:00 |
|
eeintech
|
af6b30eaca
|
Added IPN to Supplier Part string representation
Improved Supplier Part templates and fixed 'Order Part' button in supplier_part_orders
|
2020-10-15 13:09:00 -05:00 |
|
eeintech
|
dbee26aaad
|
Fixed insertion of backslash in the barcode button group
|
2020-10-13 10:29:34 -05:00 |
|
eeintech
|
70a3b7f891
|
Improved migration, still fails if email duplicates exist in current DB
|
2020-10-13 07:43:57 -05:00 |
|
eeintech
|
ac82640c6c
|
Company: allowed duplicate names, made email field unique, custom migration
|
2020-10-12 17:51:48 -05:00 |
|
eeintech
|
3143242d13
|
Added category 'default_location' to serializer
|
2020-10-12 13:14:24 -05:00 |
|
eeintech
|
eb98496a79
|
Added part 'default_location' to serializer
|
2020-10-12 07:25:32 -05:00 |
|
mpdgraev
|
f1f31a1338
|
fix error caused by assumption that json.loads() returns an object with a .keys() function
|
2020-10-09 16:32:54 +02:00 |
|
Oliver
|
ca8472ac23
|
Merge pull request #1037 from SchrodingersGat/tz-support
Add support for setting timezone in config.yaml
|
2020-10-08 21:35:36 +11:00 |
|
Oliver Walters
|
3d60bccae0
|
Add support for setting timezone in config.yaml
|
2020-10-08 21:02:38 +11:00 |
|
Oliver
|
26ee3032f6
|
Merge pull request #1036 from SchrodingersGat/bom-quantity-export
Normalize quantity field when exporting BOM
|
2020-10-08 14:21:50 +11:00 |
|
Oliver Walters
|
8b16304e84
|
Custom 404 page
|
2020-10-08 14:09:08 +11:00 |
|
Oliver Walters
|
b595f3b732
|
Normalize quantity field when exporting BOM
|
2020-10-08 14:05:55 +11:00 |
|
Oliver
|
305920d1ac
|
Merge pull request #1030 from eeintech/stock_permissions
Stock permissions
|
2020-10-07 14:11:52 +11:00 |
|
Oliver
|
ec4bc357df
|
Merge pull request #1031 from eeintech/fix_superuser_permission
Fixed context permissions for superuser with no group assigned
|
2020-10-07 13:40:59 +11:00 |
|
eeintech
|
01eee4d208
|
Fixed style
|
2020-10-06 10:40:58 -05:00 |
|
eeintech
|
8499ced636
|
Changed from validation error to warning message when group instance is saved
|
2020-10-06 10:38:06 -05:00 |
|
eeintech
|
19a2326638
|
Merge branch 'master' of git://github.com/inventree/InvenTree into user_unique_group_validation
|
2020-10-06 10:04:35 -05:00 |
|
eeintech
|
1ce2166843
|
Fixed context permissions for superuser with no group assigned
|
2020-10-06 09:59:51 -05:00 |
|
eeintech
|
5bcf8529ff
|
Only users with Part view permission have part URL shown
|
2020-10-06 09:16:38 -05:00 |
|
eeintech
|
e4ce19d22a
|
Added Test user and all permissions
|
2020-10-06 09:02:10 -05:00 |
|
eeintech
|
095cfe9845
|
Updated Stock permission views and templates
|
2020-10-06 08:55:40 -05:00 |
|
Oliver
|
279b50d977
|
Merge pull request #1029 from SchrodingersGat/sales-order-permissions
Sales order permissions
|
2020-10-06 20:44:01 +11:00 |
|
Oliver Walters
|
8b37229e4b
|
The real translations are the ones we made along the way
|
2020-10-06 20:31:38 +11:00 |
|
Oliver Walters
|
b80e4302ba
|
Update permissions for build app
|
2020-10-06 20:29:16 +11:00 |
|
Oliver Walters
|
2325b1e4ba
|
Unit test fixes
|
2020-10-06 20:10:14 +11:00 |
|
Oliver Walters
|
9abb211cdf
|
Update template permissions
|
2020-10-06 20:09:55 +11:00 |
|
Oliver Walters
|
1c97aaf87a
|
Set permissions for order views
|
2020-10-06 19:46:53 +11:00 |
|
Oliver
|
606c62078f
|
Merge pull request #1024 from SchrodingersGat/part-permissions
Permissions
|
2020-10-06 18:29:05 +11:00 |
|
Oliver Walters
|
ab454e5ba4
|
More template changes: perms -> roles
|
2020-10-06 16:46:13 +11:00 |
|
Oliver Walters
|
88f73443ee
|
Yet more style fixes
|
2020-10-06 16:43:39 +11:00 |
|
Oliver Walters
|
77a2b6de8b
|
Merge branch 'part-permissions' of https://github.com/SchrodingersGat/InvenTree into part-permissions
|
2020-10-06 16:03:33 +11:00 |
|
Oliver Walters
|
b3e4efd96e
|
Unit testing fixes
|
2020-10-06 16:03:19 +11:00 |
|
Oliver
|
e076470305
|
Merge branch 'master' into part-permissions
|
2020-10-06 12:35:45 +11:00 |
|
Oliver Walters
|
d691b15f4b
|
Fix conflicts
|
2020-10-06 12:34:30 +11:00 |
|
Oliver Walters
|
11d31960c7
|
Change modal form permissions to use new "role" strategy
|
2020-10-06 11:42:16 +11:00 |
|
Oliver Walters
|
c740cce5e4
|
PEP fixes
|
2020-10-06 11:31:04 +11:00 |
|
Oliver Walters
|
dc2c9aa662
|
Add InvenTreeRoleMixin
- Simplifies permission requirements for views
- e.g. 'part.view' rather than 'part.view_partcategory'
|
2020-10-06 11:29:38 +11:00 |
|
Oliver Walters
|
d2e2e7511f
|
Update templates: Change perms to roles
|
2020-10-06 10:07:39 +11:00 |
|
Oliver Walters
|
fa21d66c41
|
Fix logic for global context object 'roles'
- User may be a part of multiple groups
- Roles are additive across groups
|
2020-10-06 09:54:37 +11:00 |
|
Oliver Walters
|
23aee234f0
|
Change index page to use roles rather than perms to determine user permissions
|
2020-10-06 09:32:05 +11:00 |
|
Oliver Walters
|
556ffa1099
|
Change label for permissions to match django permission names
|
2020-10-06 09:28:05 +11:00 |
|
Oliver Walters
|
8b2189daca
|
Add global context 'roles'
- Access via template e.g. {% if roles.part.view %}
- Always True if the user is a superuser
|
2020-10-06 09:27:22 +11:00 |
|
Oliver
|
e74bfb90a5
|
Merge pull request #1025 from eeintech/fixed_group_redundant_saves
Fixed Group model permissions redundant saves
|
2020-10-06 07:40:44 +11:00 |
|
eeintech
|
911b23ca24
|
Added validation logic for user list to Group admin form
|
2020-10-05 13:12:52 -05:00 |
|
eeintech
|
d980da7247
|
Fixed permission assign test unit
|
2020-10-05 10:52:47 -05:00 |
|