We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2024-04-22 23:46 UTC
2024-04-22 23:48 UTC
Done to remove Carley's Django Admin privileges as per #3673
cf login -a api.fr.cloud.gov -o gsa-tts-oros-fac -s production --sso cf allow-space-ssh production echo $(date -u +"%Y-%m-%d %H:%M") UTC #2024-04-22 23:46 UTC cf ssh gsa-fac /tmp/lifecycle/shell python manage.py shell
targets = ("<redacted>",) from django.contrib.auth import get_user_model users = get_user_model().objects.filter(email__in=targets) user=users[0] print(user.is_staff) #True print(user.is_superuser) #True def delprivs(user): user.is_staff = False user.is_superuser = False user.save() delprivs(user) print(user.is_staff) #False print(user.is_superuser) #False exit()
exit exit cf disallow-space-ssh production echo $(date -u +"%Y-%m-%d %H:%M") UTC #2024-04-22 23:48 UTC
The text was updated successfully, but these errors were encountered:
tadhg-ohiggins
No branches or pull requests
Start (UTC)
2024-04-22 23:46 UTC
End (UTC)
2024-04-22 23:48 UTC
Explanation
Done to remove Carley's Django Admin privileges as per #3673
Command log
The text was updated successfully, but these errors were encountered: