ansible / django-ansible-base

Apache License 2.0
11 stars 43 forks source link

Prepare 2 User managers to exclude _system user by default #522

Closed slemrmartin closed 1 month ago

slemrmartin commented 1 month ago

This PR creates a AbstractDABUser who has 2 managers:

this adds an ability to exclude some objects by default by apps using DAB, for example to exclude is_active=False or managed=True in the default queryset - without the need to rewrite queries in dependent apps

AAP-27023

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud