Skip to content
Snippets Groups Projects
Commit 62f3248f authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/security/gitlab@12-5-stable-ee

parent 586bb7dc
No related branches found
No related tags found
No related merge requests found
Showing
with 97 additions and 1 deletion
Loading
Loading
@@ -4,6 +4,12 @@ module Projects
module ImportExport
class ExportService < BaseService
def execute(after_export_strategy = nil, options = {})
unless project.template_source? || can?(current_user, :admin_project, project)
raise ::Gitlab::ImportExport::Error.new(
"User with ID: %s does not have permission to Project %s with ID: %s." %
[current_user.id, project.name, project.id])
end
@shared = project.import_export_shared
 
save_all!
Loading
Loading
.js-grafana-integration{ data: { operations_settings_endpoint: project_settings_operations_path(@project),
grafana_integration: { url: grafana_integration_url, token: grafana_integration_token, enabled: grafana_integration_enabled?.to_s } } }
grafana_integration: { url: grafana_integration_url, token: grafana_integration_masked_token, enabled: grafana_integration_enabled?.to_s } } }
---
title: Add template repository usage to the usage ping
merge_request: 20126
author: minghuan lei
type: changed
---
title: Update rack-cors to 1.0.6
merge_request:
author:
type: security
---
title: Update rdoc to 6.1.2
merge_request:
author:
type: security
---
title: Bump rubyzip to 2.0.0
merge_request:
author: Utkarsh Gupta
type: security
---
title: Cleanup todos for users from a removed linked group
merge_request:
author:
type: security
---
title: Disable access to last_pipeline in commits API for users without read permissions
merge_request:
author:
type: security
---
title: Add constraint to group dependency proxy endpoint param
merge_request:
author:
type: security
---
title: Limit number of AsciiDoc includes per document
merge_request:
author:
type: security
---
title: Prevent API access for unconfirmed users
merge_request:
author:
type: security
---
title: Enforce permission check when counting activity events
merge_request:
author:
type: security
---
title: Prevent gafana integration token from being displayed as a plain text to other project maintainers, by only displaying a masked version of it.
merge_request:
author:
type: security
---
title: Fix xss on frequent groups dropdown
merge_request:
author:
type: security
---
title: Fix XSS vulnerability on custom project templates form
merge_request:
author:
type: security
---
title: Protect internal CI builds from external overrides
merge_request:
author:
type: security
---
title: ImportExport::ExportService to require admin_project permission
merge_request:
author:
type: security
---
title: Make sure that only system notes where all references are visible to user are exposed in GraphQL API.
merge_request:
author:
type: security
---
title: Disable caching of repository/files/:file_path/raw API endpoint
merge_request:
author:
type: security
---
title: Make cross-repository comparisons happen in the source repository
merge_request:
author:
type: security
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment