Jeremy Stretch
|
2adcefe54d
|
Rename content_types to object_types
|
2020-06-03 09:27:20 -04:00 |
|
Jeremy Stretch
|
cc1acfb633
|
Uodate script and report views to use ObjectPermissionRequiredMixin
|
2020-06-02 15:40:39 -04:00 |
|
Jeremy Stretch
|
931a121eb7
|
Remove delete_token permission from TokenDeleteView
|
2020-06-02 15:36:31 -04:00 |
|
Jeremy Stretch
|
b8c048995f
|
Update VirtualChassis views to support ObjectPermissions
|
2020-06-02 15:33:41 -04:00 |
|
Jeremy Stretch
|
779f75904b
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
Jeremy Stretch
|
d5f57a41f0
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
Jeremy Stretch
|
e50c4e50ee
|
Fixes #4707: Fix prefix_count population on VLAN API serializer
|
2020-06-02 13:40:14 -04:00 |
|
Jeremy Stretch
|
3c03a66f2b
|
Admin UI improvements
|
2020-06-02 13:21:58 -04:00 |
|
Jeremy Stretch
|
cd2ab9f1af
|
Accomodate custom legacy permission in schema migration
|
2020-06-02 10:50:58 -04:00 |
|
Jeremy Stretch
|
fe00577020
|
Remove activate_userkey permission
|
2020-06-02 09:51:56 -04:00 |
|
Jeremy Stretch
|
115fbecb44
|
Update custom napalm_read, napalm_write permissions
|
2020-06-02 09:46:32 -04:00 |
|
Jeremy Stretch
|
f04faee88a
|
Clean up permissions utility functions
|
2020-06-02 09:31:59 -04:00 |
|
Jeremy Stretch
|
6db6d9e6ce
|
Fix external auth permissions test
|
2020-06-01 16:46:14 -04:00 |
|
Jeremy Stretch
|
438c3de5b4
|
Changelog for #554
|
2020-06-01 16:30:20 -04:00 |
|
Jeremy Stretch
|
96cc46588a
|
Support permission attribute assignment via REMOTE_AUTH_DEFAULT_PERMISSIONS
|
2020-06-01 16:23:45 -04:00 |
|
Jeremy Stretch
|
fbd484a739
|
Drafted documentation for object-based permissions
|
2020-06-01 15:28:36 -04:00 |
|
Jeremy Stretch
|
91ec805369
|
Fix ordering of group and user fields in ObjectPermission admin
|
2020-06-01 13:59:58 -04:00 |
|
Jeremy Stretch
|
3796d5e32c
|
Move authentication backends
|
2020-06-01 13:47:34 -04:00 |
|
Jeremy Stretch
|
d3868807db
|
Restrict querysets for home, search views
|
2020-06-01 13:36:57 -04:00 |
|
Jeremy Stretch
|
f523f9a97d
|
Call permission_is_exempt() to check for exempt permissions
|
2020-06-01 13:17:59 -04:00 |
|
Jeremy Stretch
|
59cb0e995a
|
Refine queryset restriction logic
|
2020-06-01 13:09:34 -04:00 |
|
Jeremy Stretch
|
131b317dad
|
Add permission_is_exempt()
|
2020-06-01 12:31:18 -04:00 |
|
Jeremy Stretch
|
9a1d62db2b
|
Update views to restrict all querysets
|
2020-06-01 11:43:49 -04:00 |
|
Jeremy Stretch
|
92ffe54214
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
Jeremy Stretch
|
13d0e01a23
|
Fixes #4702: Catch IntegrityError exception when adding a non-unique secret
|
2020-06-01 10:00:32 -04:00 |
|
Jeremy Stretch
|
6948230dea
|
Fixes #4704: Update example template code
|
2020-06-01 09:40:58 -04:00 |
|
Jeremy Stretch
|
55cc22f41a
|
Implement RestrictedQuerySet as a manager
|
2020-05-29 16:27:36 -04:00 |
|
Jeremy Stretch
|
10ab884671
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
Jeremy Stretch
|
aefeb711a7
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
Jeremy Stretch
|
0584dd2fab
|
Fix instance evaluation
|
2020-05-29 13:57:38 -04:00 |
|
Jeremy Stretch
|
cc0e6809bc
|
Fix permission action evaluation
|
2020-05-29 13:47:19 -04:00 |
|
Jeremy Stretch
|
58dd143f52
|
Add migration for replicating legact permissions to ObjectPermissions
|
2020-05-29 13:42:38 -04:00 |
|
Jeremy Stretch
|
db3e85e530
|
Improve the admin form for ObjectPermissions
|
2020-05-29 12:08:51 -04:00 |
|
Jeremy Stretch
|
f197da97c2
|
Add ArrayField on ObjectPermission to store actions
|
2020-05-29 11:25:13 -04:00 |
|
Jeremy Stretch
|
cfc2425908
|
Introduce proxy models for User and Group to organize admin UI
|
2020-05-29 10:43:12 -04:00 |
|
Jeremy Stretch
|
1f3c118043
|
Enable many-to-many model assignment for ObjectPermissions
|
2020-05-28 15:04:46 -04:00 |
|
Jeremy Stretch
|
32765c4f46
|
Fix up ObjectPermission content type assignment
|
2020-05-28 14:20:18 -04:00 |
|
Jeremy Stretch
|
a0017e221c
|
Remove built-in permission assignment from admin UI
|
2020-05-28 14:03:08 -04:00 |
|
Jeremy Stretch
|
4c5a0e45c3
|
Remove ObjectPermissionManager
|
2020-05-28 13:47:52 -04:00 |
|
Jeremy Stretch
|
e9a995bc56
|
Expose assigned ObjectPermissions on User instance
|
2020-05-28 13:25:37 -04:00 |
|
Jeremy Stretch
|
d69cd215a3
|
Skip queryset filtering for superusers
|
2020-05-28 13:25:12 -04:00 |
|
Jeremy Stretch
|
2fbddad04c
|
Standardize base classes for view test cases
|
2020-05-28 12:05:54 -04:00 |
|
Jeremy Stretch
|
1752430d24
|
Restore model-level permission tests
|
2020-05-28 11:08:35 -04:00 |
|
Jeremy Stretch
|
bd619499bf
|
Introduce resolve_permission() utility function
|
2020-05-28 10:35:59 -04:00 |
|
Jeremy Stretch
|
713304788d
|
Reduce ObjectPermission creation boilerplate
|
2020-05-28 10:27:25 -04:00 |
|
Jeremy Stretch
|
20b9f88c19
|
Fix default permissions assignment under RemoteUserBackend
|
2020-05-28 10:04:19 -04:00 |
|
Jeremy Stretch
|
d63028240f
|
Fix secrets API tests
|
2020-05-28 09:51:02 -04:00 |
|
Jeremy Stretch
|
cd77c80f3b
|
Update ObjectPermission evaluation to support null attrs
|
2020-05-28 09:39:27 -04:00 |
|
Jeremy Stretch
|
effdbc32d6
|
Fix permissions assignment for SecretTest
|
2020-05-27 17:10:45 -04:00 |
|
Jeremy Stretch
|
cedccf670a
|
Fix permission assignment in tests
|
2020-05-27 16:53:30 -04:00 |
|