Jeff Bradberry
|
20504042c9
|
Graph out only the parent/child chains from a given Role
Doing the entire graph is too much on any system with real amounts of Roles.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
0e87e97820
|
Check for a broken ContentType -> model and log and skip
Apparently this has happened to a customer, per Nate Becker.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
1f154742df
|
Make the role_chain.py script emit a Graphviz file
of the Role relationships.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
85fc81aab1
|
Start a new script that can be used to examine a Role's ancestry
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
5cfeeb3e87
|
Treat resources with null role fks differently
The underlying role should be re-linked, instead of treated as orphaned.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
a8c07b06d8
|
Set up an enhanced version of Seth's bad role scenario
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
53c5feaf6b
|
Set up Seth's bad role scenario
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
6f57aaa8f5
|
When checking reverse links, treat duplicate Roles different from bad ones
Also, null out the generic foreign key on orphaned roles before deleting.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
bea74a401d
|
Attempt to be more efficient about grouping the content types
Also, attempt to rebuild the role ancestors in the fixup script.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
54e85813c8
|
First full check script
This version emits the first fix-up script as its output.
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
b69ed08fe5
|
Specifically examine the InstanceGroup roles
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
de25408a23
|
Print out details of all of the crosslinked roles
|
2024-06-10 16:36:22 -04:00 |
|
Jeff Bradberry
|
b17f0a188b
|
Initial check
|
2024-06-10 16:36:22 -04:00 |
|