|
ffb43a8534
|
Introduce unrestricted() method on RestrictedQuerySet
|
2020-06-16 12:20:21 -04:00 |
|
|
ce5fd7955f
|
Catch and log evaluation of RestrictedQuerySet without calling restrict()
|
2020-06-16 10:39:15 -04:00 |
|
|
e917535380
|
Merge branch 'develop' into develop-2.9
|
2020-06-15 16:04:32 -04:00 |
|
|
57cfb4ed7e
|
Fixes #4760: Enable power port template assignment when bulk editing power outlet templates
|
2020-06-15 13:18:26 -04:00 |
|
|
5af2b3c2f5
|
Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks
|
2020-06-15 11:53:47 -04:00 |
|
|
9fc4a4f24a
|
Closes #4755: Enable creation of rack reservations directly from navigation menu
|
2020-06-12 15:11:27 -04:00 |
|
|
057a022205
|
Clean up and improve UI view tests
|
2020-06-11 16:12:50 -04:00 |
|
|
9b48a26aef
|
Merge pull request #4723 from jsenecal/4615_interface_label
Closes: #4615 Physical labels
|
2020-06-11 13:03:46 -04:00 |
|
|
25cbab2ea4
|
Avoid checking field twice on all iterations
Yields a small performance improvement
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
|
2020-06-10 22:16:46 -04:00 |
|
|
cf81a8979f
|
Avoid component_type on subclasses
|
2020-06-10 22:10:45 -04:00 |
|
|
81d08ac50b
|
Stay consistent with codebase: i vs pos
|
2020-06-10 16:41:52 -04:00 |
|
|
9abc67bbeb
|
Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels
|
2020-06-10 11:38:23 -04:00 |
|
|
4301c06d17
|
Refactorization into LabeledComponentForm
|
2020-06-08 23:07:12 -04:00 |
|
|
2f53411efc
|
Extend assertInstanceEqual() to handle M2M relations to ContentType
|
2020-06-08 16:32:50 -04:00 |
|
|
7a858cea23
|
Extend test_bulk_create_objects() to inspect created objects
|
2020-06-08 15:58:54 -04:00 |
|
|
62224857f0
|
Standardize ObjectPermissionTest
|
2020-06-08 14:01:15 -04:00 |
|
|
a8145fe4c2
|
Add permission assignment to custom test methods
|
2020-06-08 13:40:46 -04:00 |
|
|
3b44e7c1c4
|
Update API test methods to evaluate permissions assignment
|
2020-06-08 11:52:29 -04:00 |
|
|
830fd5f83a
|
Remove duplicate test method
|
2020-06-08 11:22:12 -04:00 |
|
|
f83e435a90
|
Move APIViewTestCases to api.py
|
2020-06-08 10:46:53 -04:00 |
|
|
0ebd87bcb9
|
Merge branch 'develop' into develop-2.9
|
2020-06-08 10:33:23 -04:00 |
|
|
a8077e6ed1
|
Extend assertInstanceEqual() to accommodate REST API data
|
2020-06-08 09:47:14 -04:00 |
|
|
c2f6f5a7cd
|
Fix ProviderTest
|
2020-06-05 15:18:18 -04:00 |
|
|
286a3e6ca2
|
Add label to forms, views and templates
|
2020-06-05 13:59:59 -04:00 |
|
|
d65cead212
|
Return an empty list if value is None
|
2020-06-05 12:34:09 -04:00 |
|
|
8cc1dc9f1c
|
Fix update data
|
2020-06-05 10:05:54 -04:00 |
|
|
1d5f2fbd11
|
Correct test method name
|
2020-06-05 09:19:31 -04:00 |
|
|
4ae1879b87
|
Introduce APIViewTestCases for standardized API view testing
|
2020-06-04 16:45:03 -04:00 |
|
|
d157818d7e
|
Rename attrs to constraints
|
2020-06-03 09:43:46 -04:00 |
|
|
ddcd172af1
|
Rename content_types to object_types
|
2020-06-03 09:27:20 -04:00 |
|
|
e463430d51
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
|
cae412d280
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
|
85e932bfc1
|
Clean up permissions utility functions
|
2020-06-02 09:31:59 -04:00 |
|
|
26d7c21314
|
Move authentication backends
|
2020-06-01 13:47:34 -04:00 |
|
|
b6c38ceb73
|
Call permission_is_exempt() to check for exempt permissions
|
2020-06-01 13:17:59 -04:00 |
|
|
3a9512f086
|
Refine queryset restriction logic
|
2020-06-01 13:09:34 -04:00 |
|
|
9679557747
|
Add permission_is_exempt()
|
2020-06-01 12:31:18 -04:00 |
|
|
3c334a0238
|
Update views to restrict all querysets
|
2020-06-01 11:43:49 -04:00 |
|
|
5574aaa8cb
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
|
e23b2c4c4f
|
Implement RestrictedQuerySet as a manager
|
2020-05-29 16:27:36 -04:00 |
|
|
5b6a6fb63e
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
|
58989b85c8
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
|
02687453f2
|
Add ArrayField on ObjectPermission to store actions
|
2020-05-29 11:25:13 -04:00 |
|
|
f65b2278f0
|
Enable many-to-many model assignment for ObjectPermissions
|
2020-05-28 15:04:46 -04:00 |
|
|
a8ed04c4d2
|
Expose assigned ObjectPermissions on User instance
|
2020-05-28 13:25:37 -04:00 |
|
|
73b7eb0c7f
|
Skip queryset filtering for superusers
|
2020-05-28 13:25:12 -04:00 |
|
|
5d36d81ae1
|
Restore model-level permission tests
|
2020-05-28 11:08:35 -04:00 |
|
|
dc56e49410
|
Introduce resolve_permission() utility function
|
2020-05-28 10:35:59 -04:00 |
|
|
ca199cdefe
|
Reduce ObjectPermission creation boilerplate
|
2020-05-28 10:27:25 -04:00 |
|
|
b2ba9d68c9
|
Fix default permissions assignment under RemoteUserBackend
|
2020-05-28 10:04:19 -04:00 |
|