Commit db7120ea authored by Justin Farmiloe's avatar Justin Farmiloe Committed by Stan Hu

Update doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md

parent 5784b5d6
......@@ -307,7 +307,8 @@ pp p.statistics # compare with earlier values
### Identify deploy keys associated with blocked and non-member users
When the user who created a deploy key is blocked or removed from the project the key can no longer be used to push to the project (see https://gitlab.com/gitlab-org/gitlab/-/issues/329742).
When the user who created a deploy key is blocked or removed from the project the key
can no longer be used to push to the project. This script identifies unusable deploy keys.
```ruby
def deploy_key_allowed(deploy_key, project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment