Commit bd116de
committed
Tailwind UI work
Squash of 96 commits previously on this branch (chronological order):
- Apply DefectDojo brand guidelines to docs site styling
- Merge branch 'dev' of https://github.com/devGregA/django-DefectDojo into dev
- Replace Bootstrap 3 + SB Admin 2 with Tailwind CSS v4
- Merge dev into tailwind branch
- Merge dev into tailwind branch
- Mark dev as merged into tailwind (content already absorbed via 196da76 + 729a73a)
- Add UI toggle for classic Bootstrap fallback and align form field widths
- Fix ruff lint errors in template loaders, display tags, and user views
- Fix integration test login selector and ship Work Sans fonts
- refactor: consolidate RBAC into dojo/authorization package
- feat(authorization): reintroduce authorized_users M2M on Product / Product_Type
- feat(authorization): backfill authorized_users from existing RBAC tables
- feat(authorization): introduce Action enum and permission_to_action mapper
- feat(authorization): rewrite core checks with legacy authorized_users model
- feat(authorization): rewrite query_registrations with legacy filtering
- feat(authorization): release RBAC tables from dojo state to managed=False shells
- feat(authorization): add preview_legacy_authorization_migration command
- refactor(authorization): simplify call sites to legacy action vocabulary
- refactor(authorization): simplify templates to legacy action vocabulary
- docs(authorization): add migration rehearsal procedure
- fix(authorization): restore is_staff bypass for View
- test(authorization): rewrite tests for legacy semantics
- test(authorization): adapt RBAC-flavored tests to legacy semantics
- test(authorization): adapt permissions audit suite to legacy semantics
- fix(authorization): perform_create reused serializer.instance + adapt rest_framework tests
- test: green-light the full unittest suite under legacy authorization
- feat(authorization): add Authorized Users UI for legacy access management
- fix(authorization): drop multi-line {# #} comments leaking as text
- test(authorization): cover end-to-end ACL filtering for authorized_users
- docs(2.58): document Authorized Users panel + Pro no-op note
- fix(user): drop stale select_related("global_role") in /user list view
- feat(authorization): strip inert user-groups panel from view_user.html
- fix(user): use forward FK to look up Global_Role on profile / user / group save
- style: hoist Global_Role/Role imports to module top to satisfy ruff PLC0415
- feat(authorization): strip Global Role + profile Groups panel under legacy
- feat(authorization): exclude default_group RBAC fields from System Settings form/serializer
- fix(ui): row-action ellipsis alignment + Authorized Users trash icon visibility
- feat(authorization): unregister RBAC API endpoints in OS — moved to Pro
- fix(authorization): restore is_staff bypass for configuration permissions
- feat(authorization): expose is_staff on user UI form + API serializer
- feat(authorization): strip RBAC member-listing panels from view_user.html
- feat(authorization): make view_user product/product_type panels read-only under legacy
- feat(authorization): wire user-view Add/Revoke actions to authorized_users
- docs(2.58): expand legacy authorization rewrite notes
- docs(2.58): call out the two migration management commands
- docs(2.58): correct the migration story — 0266/0267/0268 ship in 2.58, not 2.57
- docs(2.58): soften migration narrative in the upgrade notes
- Merge origin/dev into tailwind
- feat(sso): remove SSO surface from open source — Pro only as of 2.58
- docs(2.58): reframe SSO and RBAC as Pro-only; add Authorized Users page
- Remove SAML logout button from header menu
- ui(authorized-users): collapse row delete into kebab menu, equalize columns
- fix(profile): redirect after successful POST so UI toggle takes effect
- Merge branch 'tailwind' of github.com:devGregA/django-DefectDojo into tailwind
- feat(users): replace Global Role column with Staff boolean
- docs(2.59): slip legacy authorization + SSO upgrade notes from 2.58 to 2.59
- docs(view_group): point help-text links to OS Authorized Users page
- chore(migrations): merge 0269 table renames into 0268 release-rbac-state
- Merge origin/dev into tailwind
- fix(lint): drop merge-residual unused imports flagged by ruff
- remove OS UI for individual groups and group members
- remove orphaned templates_classic copies for individual groups
- remove OS UI for product groups
- remove OS UI for product-type groups
- strip Global_Role and group-membership UI from user pages
- remove orphaned API ViewSets, serializers, and permissions for groups/roles
- clean up unused imports left over from groups/roles UI removal
- remove dojo/group/ — queries and signals move to Pro
- move 10 group/member helper queries to Pro
- remove OS user-side UI for product / product-type members
- remove OS UI for product members
- remove OS UI for product-type members
- remove orphaned API ViewSets, serializers, and permissions for members
- clean up unused Product_Member / Product_Type_Member imports left over from member UI removal
- stop creating Product_Type_Member in OS ProductTypeViewSet.perform_create
- stop creating Product_Type_Member in classic add_product_type view
- stop creating Product_Type_Member in OS OrganizationViewSet.perform_create
- stop creating Product_Member / Product_Type_Member during auto_create_context
- stop creating default Dojo_Group_Member from user_post_save
- remove orphaned AssetMember V3 API ViewSet, serializer, filter, and permission
- remove orphaned AssetGroup V3 API ViewSet, serializer, filter, and permission
- remove orphaned OrganizationMember V3 API ViewSet, serializer, filter, and permission
- remove orphaned OrganizationGroup V3 API ViewSet, serializer, filter, and permission
- move get_authorized_product_members / get_authorized_product_groups to Pro
- move get_authorized_product_type_members / get_authorized_product_type_groups to Pro
- strip Global_Role guard from delete_user view
- strip Global_Role check from finding_group ListFindingGroups
- strip RBAC route entries from URL_PERMISSIONS
- gut RBAC isinstance / queryset fallbacks from OS auth core
- move Add_Product_Group_GroupForm / Add_Product_Type_Group_GroupForm / GlobalRoleForm to Pro
- remove migrate_staff_users management command
- devGregA elevate Writer Global_Role to is_staff in legacy auth backfill
- Merge branch 'dev' into tailwind
- Merge branch 'dev' into tailwind
- remove templates_classic counterparts of deleted cred/promote files
- strip cred + stub_finding inline blocks from templates_classic1 parent 558a3d2 commit bd116de
681 files changed
Lines changed: 48891 additions & 17235 deletions
File tree
- components
- node_modules
- docs/content
- admin
- sso
- user_management
- automation/api
- releases
- os_upgrading
- pro
- dojo
- announcement
- api_v2
- asset
- api
- auditlog
- ui
- authorization
- banner
- benchmark
- components
- db_migrations
- development_environment
- endpoint
- engagement
- finding_group
- finding
- fixtures
- github
- templates/dojo
- ui
- group
- home
- importers
- jira
- api
- location
- api
- management/commands
- metrics
- note_type
- notes
- notifications
- templates/notifications
- ui
- object
- organization
- api
- product_type
- product
- regulations
- reports
- risk_acceptance
- search
- settings
- sla_config
- sso
- attribute_maps
- templates/dojo
- static/dojo
- css
- classic
- files
- js
- classic
- vendor
- survey
- system_settings
- templates_classic
- defectDojo-engagement-survey
- dojo
- breadcrumbs
- snippets
- url
- issue-trackers
- jira_full
- jira_limited
- login
- notifications
- alert
- mail
- msteams
- slack
- webhooks
- subtemplates
- templates
- defectDojo-engagement-survey
- dojo
- partials
- snippets
- url
- login
- templatetags
- test_type
- test
- tool_config
- tool_product
- tool_type
- url
- api
- ui
- user
- tests
- unittests
- authorization
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
| |||
0 commit comments