1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

16 Commits

Author SHA1 Message Date
Jeremy Stretch
73bb175afa Rename resolve_permission_ct() to resolve_permission_type() 2024-03-22 08:59:52 -04:00
Jeremy Stretch
01ee9c87b8 Update ObjectPermission.object_types to reference ObjectType 2024-03-04 09:52:45 -05:00
Arthur Hanson
af27bf5eff 15094 Add missing gettext to error strings for internationalization (#15155)
* 15049 add missing gettext to error strings

* 15049 add missing gettext to error strings

* 15094 review change

* 15094 review change

* Formatting cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-20 09:44:02 -05:00
Arthur Hanson
a4acb50edd 12589 move user and group admin from admin (#12877)
Move admin views for users, groups, and object permissions from the admin site to the NetBox frontend

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-20 16:22:08 -04:00
jeremystretch
12c138b341 Closes #9074: Enable referencing the current user when evaluating permission constraints 2022-07-01 13:34:10 -04:00
jeremystretch
c6dfdf10e5 Introduce qs_filter_from_constraints() for constructing object permission QS filters 2022-07-01 11:49:36 -04:00
jeremystretch
21e3159711 Hide table checkboxes when no bulk actions are enabled 2022-03-02 16:13:59 -05:00
Jeremy Stretch
64a3bd37e7 Move EXEMPT_EXCLUDE_MODELS to settings; add Group and User models 2020-07-22 12:13:07 -04:00
Jeremy Stretch
3e6b257fa0 Exclude ObjectPermissions API endpoint from EXEMPT_VIEW_PERMISSIONS 2020-07-21 17:39:56 -04:00
Jeremy Stretch
85e932bfc1 Clean up permissions utility functions 2020-06-02 09:31: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
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
dc56e49410 Introduce resolve_permission() utility function 2020-05-28 10:35:59 -04:00
Jeremy Stretch
cc6e74dfd5 Move ObjectPermissionRequiredMixin to utilities.views 2020-05-21 13:12:15 -04:00