gitlab-org--gitlab-foss/lib/api
Nick Thomas 6847060266 Rework the permissions model for SSH key restrictions
`allowed_key_types` is removed and the `minimum_<type>_bits` fields are
renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies
that the key type is disabled.

This also feeds through to the UI - checkboxes per key type are out, inline
selection of "forbidden" and "allowed" (i.e., no restrictions) are in.

As with the previous model, unknown key types are disallowed, even if the
underlying ssh daemon happens to support them. The defaults have also been
changed from the lowest known bit size to "no restriction". So if someone
does happen to have a 768-bit RSA key, it will continue to work on upgrade, at
least until the administrator restricts them.
2017-08-30 20:50:44 +01:00
..
helpers Total Pages should be at least one 2017-08-17 21:47:01 +02:00
v3 Upgrade grape to 1.0 2017-08-16 22:06:31 +02:00
access_requests.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
api.rb Add a Circuitbreaker for storage paths 2017-08-04 15:38:48 +02:00
api_guard.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
award_emoji.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
boards.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
branches.rb Don't use public_send in destroy_conditionally! helper 2017-08-30 14:32:02 +01:00
broadcast_messages.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
circuit_breakers.rb Add a Circuitbreaker for storage paths 2017-08-04 15:38:48 +02:00
commit_statuses.rb Fix head pipeline stored in merge request for external pipelines 2017-06-27 21:08:31 +02:00
commits.rb Fix the /projects/:id/repository/commits endpoint to handle dots in the ref name when the project full path contains a / 2017-08-08 12:54:07 +02:00
deploy_keys.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
deployments.rb
entities.rb Rework the permissions model for SSH key restrictions 2017-08-30 20:50:44 +01:00
environments.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
events.rb Accept a username for User-level Events API 2017-06-06 20:16:41 +08:00
features.rb Improve Features API and its docs and add a Changelog item 2017-07-06 11:18:26 +02:00
files.rb Fix API responses when dealing with txt files 2017-08-15 11:32:48 -03:00
group_milestones.rb Add group milestones API endpoint 2017-07-21 11:00:00 -03:00
group_variables.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
groups.rb Merge branch '37198-api-doesn-t-respect-default-group-visibility' into 'master' 2017-08-30 10:04:00 +00:00
helpers.rb Don't use public_send in destroy_conditionally! helper 2017-08-30 14:32:02 +01:00
internal.rb Renamed Gitaly services 2017-07-18 07:59:36 +00:00
issues.rb Merge branch '28453-add-time-estimate-time-spent-to-api-issue-output' into 'master' 2017-08-30 17:35:14 +00:00
jobs.rb Upgrade grape to 1.0 2017-08-16 22:06:31 +02:00
keys.rb
labels.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
lint.rb
members.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
merge_request_diffs.rb
merge_requests.rb Merge branch '28453-add-time-estimate-time-spent-to-api-issue-output' into 'master' 2017-08-30 17:35:14 +00:00
milestone_responses.rb Add group milestones API endpoint 2017-07-21 11:00:00 -03:00
namespaces.rb Rename members_count to members_count_with_descendants and expose only to group admins 2017-06-28 17:27:01 -03:00
notes.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
notification_settings.rb refactor update user service not to do auth checks 2017-06-23 11:41:43 +02:00
pagination_params.rb
pipeline_schedules.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
pipelines.rb
project_hooks.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
project_milestones.rb Add group milestones API endpoint 2017-07-21 11:00:00 -03:00
project_snippets.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
projects.rb Add a spec when ressource is not modified 2017-08-29 10:12:10 +02:00
protected_branches.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
repositories.rb
runner.rb Merge branch 'api-delete-respect-headers' into 'master' 2017-08-30 09:56:17 +00:00
runners.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
scope.rb AccessTokenValidationService accepts String or API::Scope scopes. 2017-06-30 07:32:25 +00:00
services.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
session.rb
settings.rb Rework the permissions model for SSH key restrictions 2017-08-30 20:50:44 +01:00
sidekiq_metrics.rb
snippets.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
subscriptions.rb
system_hooks.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
tags.rb Don't use public_send in destroy_conditionally! helper 2017-08-30 14:32:02 +01:00
templates.rb Upgrade grape to 1.0 2017-08-16 22:06:31 +02:00
time_tracking_endpoints.rb
todos.rb Avoid plucking Todo ids and use sub-queries instead 2017-08-03 16:31:05 +02:00
triggers.rb Conditionally destroy a ressource 2017-08-28 16:40:25 +02:00
users.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
variables.rb Update remaining endpoints 2017-08-28 17:10:30 +02:00
version.rb