Skip to content

Add missing token scopes to all scope enums#1313

Open
jschneider wants to merge 1 commit intogitlab4j:mainfrom
Neckar-IT:add-missing-token-scopes
Open

Add missing token scopes to all scope enums#1313
jschneider wants to merge 1 commit intogitlab4j:mainfrom
Neckar-IT:add-missing-token-scopes

Conversation

@jschneider
Copy link
Contributor

Add scopes that are available in current GitLab versions but missing from the Java client enums:

ApplicationScope: read_registry, write_registry, read_virtual_registry,
write_virtual_registry, self_rotate
DeployTokenScope: write_registry, read_virtual_registry,
write_virtual_registry, read_package_registry, write_package_registry
ProjectAccessTokenScope: manage_runner, ai_features, k8s_proxy,
self_rotate
ImpersonationToken.Scope: read_virtual_registry, write_virtual_registry,
create_runner, manage_runner, ai_features, self_rotate

References:

Add scopes that are available in current GitLab versions but missing
from the Java client enums:

ApplicationScope: read_registry, write_registry, read_virtual_registry,
  write_virtual_registry, self_rotate
DeployTokenScope: write_registry, read_virtual_registry,
  write_virtual_registry, read_package_registry, write_package_registry
ProjectAccessTokenScope: manage_runner, ai_features, k8s_proxy,
  self_rotate
ImpersonationToken.Scope: read_virtual_registry, write_virtual_registry,
  create_runner, manage_runner, ai_features, self_rotate

References:
- https://docs.gitlab.com/user/profile/personal_access_tokens/#personal-access-token-scopes
- https://docs.gitlab.com/user/project/settings/project_access_tokens/#scopes-for-a-project-access-token
- https://docs.gitlab.com/user/group/settings/group_access_tokens/#scopes-for-a-group-access-token
- https://docs.gitlab.com/user/project/deploy_tokens/#scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant