Jonathan Senecal
|
4301c06d17
|
Refactorization into LabeledComponentForm
|
2020-06-08 23:07:12 -04:00 |
|
Jeremy Stretch
|
2f53411efc
|
Extend assertInstanceEqual() to handle M2M relations to ContentType
|
2020-06-08 16:32:50 -04:00 |
|
Jeremy Stretch
|
7a858cea23
|
Extend test_bulk_create_objects() to inspect created objects
|
2020-06-08 15:58:54 -04:00 |
|
Jeremy Stretch
|
62224857f0
|
Standardize ObjectPermissionTest
|
2020-06-08 14:01:15 -04:00 |
|
Jeremy Stretch
|
a8145fe4c2
|
Add permission assignment to custom test methods
|
2020-06-08 13:40:46 -04:00 |
|
Jeremy Stretch
|
3b44e7c1c4
|
Update API test methods to evaluate permissions assignment
|
2020-06-08 11:52:29 -04:00 |
|
Jeremy Stretch
|
830fd5f83a
|
Remove duplicate test method
|
2020-06-08 11:22:12 -04:00 |
|
Jeremy Stretch
|
f83e435a90
|
Move APIViewTestCases to api.py
|
2020-06-08 10:46:53 -04:00 |
|
Jeremy Stretch
|
0ebd87bcb9
|
Merge branch 'develop' into develop-2.9
|
2020-06-08 10:33:23 -04:00 |
|
Jeremy Stretch
|
a8077e6ed1
|
Extend assertInstanceEqual() to accommodate REST API data
|
2020-06-08 09:47:14 -04:00 |
|
Jeremy Stretch
|
c2f6f5a7cd
|
Fix ProviderTest
|
2020-06-05 15:18:18 -04:00 |
|
Jonathan Senecal
|
286a3e6ca2
|
Add label to forms, views and templates
|
2020-06-05 13:59:59 -04:00 |
|
Jonathan Senecal
|
d65cead212
|
Return an empty list if value is None
|
2020-06-05 12:34:09 -04:00 |
|
Jeremy Stretch
|
8cc1dc9f1c
|
Fix update data
|
2020-06-05 10:05:54 -04:00 |
|
Jeremy Stretch
|
1d5f2fbd11
|
Correct test method name
|
2020-06-05 09:19:31 -04:00 |
|
Jeremy Stretch
|
4ae1879b87
|
Introduce APIViewTestCases for standardized API view testing
|
2020-06-04 16:45:03 -04:00 |
|
Jeremy Stretch
|
d157818d7e
|
Rename attrs to constraints
|
2020-06-03 09:43:46 -04:00 |
|
Jeremy Stretch
|
ddcd172af1
|
Rename content_types to object_types
|
2020-06-03 09:27:20 -04:00 |
|
Jeremy Stretch
|
e463430d51
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
Jeremy Stretch
|
cae412d280
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
Jeremy Stretch
|
85e932bfc1
|
Clean up permissions utility functions
|
2020-06-02 09:31:59 -04:00 |
|
Jeremy Stretch
|
26d7c21314
|
Move authentication backends
|
2020-06-01 13:47:34 -04:00 |
|
Jeremy Stretch
|
b6c38ceb73
|
Call permission_is_exempt() to check for exempt permissions
|
2020-06-01 13:17:59 -04:00 |
|
Jeremy Stretch
|
3a9512f086
|
Refine queryset restriction logic
|
2020-06-01 13:09:34 -04:00 |
|
Jeremy Stretch
|
9679557747
|
Add permission_is_exempt()
|
2020-06-01 12:31:18 -04:00 |
|
Jeremy Stretch
|
3c334a0238
|
Update views to restrict all querysets
|
2020-06-01 11:43:49 -04:00 |
|
Jeremy Stretch
|
5574aaa8cb
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
Jeremy Stretch
|
e23b2c4c4f
|
Implement RestrictedQuerySet as a manager
|
2020-05-29 16:27:36 -04:00 |
|
Jeremy Stretch
|
5b6a6fb63e
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
Jeremy Stretch
|
58989b85c8
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
Jeremy Stretch
|
02687453f2
|
Add ArrayField on ObjectPermission to store actions
|
2020-05-29 11:25:13 -04:00 |
|
Jeremy Stretch
|
f65b2278f0
|
Enable many-to-many model assignment for ObjectPermissions
|
2020-05-28 15:04:46 -04:00 |
|
Jeremy Stretch
|
a8ed04c4d2
|
Expose assigned ObjectPermissions on User instance
|
2020-05-28 13:25:37 -04:00 |
|
Jeremy Stretch
|
73b7eb0c7f
|
Skip queryset filtering for superusers
|
2020-05-28 13:25:12 -04:00 |
|
Jeremy Stretch
|
5d36d81ae1
|
Restore model-level permission tests
|
2020-05-28 11:08:35 -04:00 |
|
Jeremy Stretch
|
dc56e49410
|
Introduce resolve_permission() utility function
|
2020-05-28 10:35:59 -04:00 |
|
Jeremy Stretch
|
ca199cdefe
|
Reduce ObjectPermission creation boilerplate
|
2020-05-28 10:27:25 -04:00 |
|
Jeremy Stretch
|
b2ba9d68c9
|
Fix default permissions assignment under RemoteUserBackend
|
2020-05-28 10:04:19 -04:00 |
|
Jeremy Stretch
|
814aff78b5
|
Update ObjectPermission evaluation to support null attrs
|
2020-05-28 09:39:27 -04:00 |
|
Jeremy Stretch
|
ce46512c74
|
Fix permission assignment in tests
|
2020-05-27 16:53:30 -04:00 |
|
Jeremy Stretch
|
fb7446487e
|
Fix up permissions evaluation
|
2020-05-27 11:31:07 -04:00 |
|
Jeremy Stretch
|
4cee506710
|
Rebase RemoteUserBackend on BaseBackend
|
2020-05-27 10:52:59 -04:00 |
|
Jeremy Stretch
|
5dddf6846b
|
Disable built-in model permissions
|
2020-05-27 10:48:56 -04:00 |
|
Jeremy Stretch
|
03da9348e5
|
Merge branch 'develop-2.9' into 554-object-permissions
|
2020-05-26 16:42:39 -04:00 |
|
Jeremy Stretch
|
28a14cf5ae
|
Merge branch 'develop' into develop-2.9
|
2020-05-26 16:39:23 -04:00 |
|
Jeremy Stretch
|
ccc31b2c7c
|
Fixes #4525: Allow passing initial data to custom script MultiObjectVar
|
2020-05-26 15:34:29 -04:00 |
|
Jeremy Stretch
|
92f49b4711
|
Closes #4672: Set default color for rack and devices roles
|
2020-05-26 09:36:27 -04:00 |
|
Jeremy Stretch
|
635fefcb5c
|
Update exempted tests
|
2020-05-22 16:33:56 -04:00 |
|
Jeremy Stretch
|
77a49fa40e
|
Extend bulk import/edit/delete view tests to support object-level permissions
|
2020-05-22 16:04:43 -04:00 |
|
Jeremy Stretch
|
5273b9d0ee
|
Rename ImportObjectsViewTestCase
|
2020-05-22 14:57:35 -04:00 |
|