Commit Graph

49 Commits

Author SHA1 Message Date
Jeremy Stretch
6594d8b7d3 Prevent the stock Django Group model from appearing in the admin UI (if enabled) 2024-04-02 15:48:40 -04:00
Arthur Hanson
a9facbdda2 12795 custom user model (#15005)
* 12795 users.User migration

* 12795 users.User migration

* 12795 review changes

* 12795 fix user model registration

* 12795 fix user model registration

* 12795 update migration

* 12795 update migration

* 12795 update migration

* 12795 add comment to migration db_table

* Tweak import to avoid class name collision

* 12795 add comment for _register_features requirement

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-05 13:24:03 -05:00
Jeremy Stretch
7a0b241b23 #12589: Remove obsolete admin resources 2023-08-01 14:35:28 -04:00
jeremystretch
1b1a1c1e9b Refactor users.admin 2021-12-30 13:08:09 -05:00
jeremystretch
9b81f5c325 Fixes #6811: Fix exception when editing users 2021-07-26 09:37:58 -04:00
jeremystretch
cff7b5a6e5 Fixes #6064: Fix object permission assignments for user and group models 2021-05-28 13:27:05 -04:00
jeremystretch
2d77b1551d Closes #6422: Enable filtering users by group under admin UI 2021-05-25 11:26:18 -04:00
Jeremy Stretch
36d84c5cd5 Use ContentTypeChoiceField for all ContentType fields 2021-04-02 10:55:16 -04:00
Jeremy Stretch
bae544fb78 Fixes #5922: Fix options for filtering object permissions in admin UI 2021-03-08 16:51:11 -05:00
Jeremy Stretch
5e643def2c Closes #5531: Ensure consistent calls to parent clean() methods for models, forms 2020-12-28 12:54:42 -05:00
Jeremy Stretch
175326ff60 Fixes #5273: Fix exception when validating a new permission with no models selected 2020-10-27 10:01:49 -04:00
John Anderson
a03f8d3476 fixes #5113 - incorrect caching of permission object assignments to user groups in the admin panel 2020-10-14 20:10:21 -04:00
Jeremy Stretch
44bb242821 Extend ObjectPermission constraints to OR multiple JSON objects 2020-08-06 15:53:23 -04:00
Jeremy Stretch
dfa27ba4de Closes #4943: Add a 'description' field to ObjectPermission 2020-08-03 16:37:37 -04:00
Jeremy Stretch
536393fe59 Closes #4942: Make ObjectPermission's 'name' field required 2020-08-03 16:10:51 -04:00
Jeremy Stretch
0042fdf1b4 Exclude permission, userconfig inlines when creating a new user 2020-08-03 14:16:21 -04:00
Jeremy Stretch
ed3f477381 #4919: Allow adding/changing assigned permissions within group and user admin views 2020-07-29 12:12:00 -04:00
Jeremy Stretch
05e7af702b Remove restriction enforcement from RestrictedQuerySet 2020-07-23 12:48:03 -04:00
Jeremy Stretch
dcde19579d Admin UI cleanup 2020-07-22 16:00:28 -04:00
Jeremy Stretch
2a9547e8f3 Use monospaced font for ObjectPermission constraints 2020-07-08 16:07:07 -04:00
Jeremy Stretch
2559de1293 Enable filtering ObjectPermissions by enabled, action, and object type 2020-07-08 14:38:19 -04:00
Jeremy Stretch
976ffa9b2d Admin UI should use unrestricted queryset for ObjectPermissions 2020-07-08 13:59:57 -04:00
Jeremy Stretch
56e0e869a4 Enable bulk enabling/disabling of permissions 2020-07-08 13:54:09 -04:00
Jeremy Stretch
a17f1b15c7 Add name, enabled fields to ObjectPermission 2020-07-08 13:44:19 -04:00
Jeremy Stretch
a6f2f148f7 Fix automatic creation of UserConfig for user created via admin UI 2020-06-26 14:29:24 -04:00
Jeremy Stretch
a71d18fbe3 Rename attrs to constraints 2020-06-03 09:43:46 -04:00
Jeremy Stretch
2adcefe54d Rename content_types to object_types 2020-06-03 09:27:20 -04:00
Jeremy Stretch
3c03a66f2b Admin UI improvements 2020-06-02 13:21:58 -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
0584dd2fab Fix instance evaluation 2020-05-29 13:57: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
cf9dbae6b0 Initial work on #554 (WIP) 2020-05-08 17:30:25 -04:00
Jeremy Stretch
6e7ec2266b Show user config in admin UI 2020-04-23 15:53:43 -04:00
Jeremy Stretch
204a220809 Fixes #4458: Remove custom admin site to avoid conflict with django-rq 2.3.0 2020-04-07 10:17:34 -04:00
Jeremy Stretch
b4acade70d Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
Jeremy Stretch
ab972d2bc0 Closes #2766: Extend users admin table to include superuser and active fields 2019-01-17 16:14:06 -05:00
Jeremy Stretch
5c1385f16b Merge branch 'develop' into develop-2.5 2018-08-16 16:31:54 -04:00
Jeremy Stretch
36cac325bb Fixes #2362: Implemented custom admin site to properly handle BASE_PATH 2018-08-16 09:44:00 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
3b6d6f52e6 Token admin form improvements 2017-03-28 12:19:08 -04:00
Jeremy Stretch
1588c6226b Initial work on token authentication 2017-03-07 17:17:39 -05:00
Jeremy Stretch
7502a02fba Code cleanup 2016-05-18 16:35:35 -04:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00