Commit da08bc8a authored by Robert Speicher's avatar Robert Speicher

Merge branch 'make-dev-token-api-more-usable' into 'master'

Extend scopes of seeded dev token

See merge request gitlab-org/gitlab!37407
parents 7f4011e9 cb26d4d3
...@@ -7,7 +7,7 @@ Gitlab::Seeder.quiet do ...@@ -7,7 +7,7 @@ Gitlab::Seeder.quiet do
PersonalAccessToken.create!( PersonalAccessToken.create!(
user_id: User.find_by(username: 'root').id, user_id: User.find_by(username: 'root').id,
name: "seeded-api-token", name: "seeded-api-token",
scopes: ["api"], scopes: Gitlab::Auth.all_available_scopes,
token_digest: "/O0jfLERYT/L5gG8nfByQxqTj43TeLlRzOtJGTzRsbQ=" token_digest: "/O0jfLERYT/L5gG8nfByQxqTj43TeLlRzOtJGTzRsbQ="
) )
......
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