Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-06Check instance cluster feature at policy levelJames Fargher
Try to simplify feature flag checks by using policies
2019-05-06Allow projects to use instance level clustersJames Fargher
There are two cluster hierarchies one for the deployment platform and one for controllers. The main difference is that deployment platforms do not check user permissions and only return the first match.
2019-05-06Instance level kubernetes clusters adminJames Fargher
Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
2019-05-03Allow guests users to access project releasesKrasimir Angelov
This is step one of resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/56838. Here is what changed: - Revert the security fix from bdee9e8412d. - Do not leak repository information (tag name, commit) to guests in API responses. - Do not include links to source code in API responses for users that do not have download_code access. - Show Releases in sidebar for guests. - Do not display links to source code under Assets for users that do not have download_code access. GET ':id/releases/:tag_name' still do not allow guests to access releases. This is to prevent guessing tag existence.
2019-05-02Remove the `comment_personal_snippet` permissionSean McGivern
This is now entirely handled by `create_note`: 1. Project snippets prevent `create_note`. 2. Uploads already only support routing for personal snippets. This simplifies some policies and access checks, too!
2019-04-09Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-09Add new permission model `read-pipeline-variable`Agustin Henze
Used to get the variables via the API endpoint `/projects/:id/pipelines/:pipeline_id/variables` Signed-off-by: Agustin Henze <tin@redhat.com>
2019-04-05Add part of needed codeGosia Ksionek
Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method
2019-04-05Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl
This reverts merge request !26823
2019-04-05Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-04Add cr remarksGosia Ksionek
Chnage method used in model to make it more efficient database-wise Add additional spec
2019-04-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵John Jarvis
jarv/dev-to-gitlab-2019-04-02
2019-03-27[CE] Reduce the diff with EE in spec/policies/group_policy_spec.rbRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27Factorize policy helpers into PolicyHelpersRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27[CE] Reduce the diff with EE in spec/policies/project_policy_spec.rbRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27[CE] Reduce the diff with EE in spec/policies/namespace_policy_spec.rbRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-26Disallow guest users from accessing ReleasesShinya Maeda
As they do not have a permission to read git tag
2019-03-19Move out link\unlink ability checks to a policyPavel Shutsin
We can extend the policy in EE for additional behavior
2019-03-13Add cr remarksMałgorzata Ksionek
2019-03-12Fix false positive specsMałgorzata Ksionek
2019-03-08Disallow reopening of locked merge requestsJan Beckmann
Fixes #56864
2019-03-06Allow protected branch creation via web and APIPatrick Bajao
This commit includes changes to add `UserAccess#can_create_branch?` which will check whether the user is allowed to create a branch even if it matches a protected branch. This is used in `Gitlab::Checks::BranchCheck` when the branch name matches a protected branch. A `push_to_create_protected_branch` ability in `ProjectPolicy` has been added to allow Developers and above to create protected branches.
2019-03-05Add metadata about the GitLab server to GraphQLNick Thomas
2019-03-05Resolve conflicts in group policyMałgorzata Ksionek
2019-03-05Add frozen_string_literal to new filesStan Hu
2019-03-05Resolve conflicts in spec/policies/group_policy_spec.rbStan Hu
2019-03-04Merge dev master into GitLab.com masterYorick Peterse
2019-03-04Forbid creating discussions for users with restricted accessIgor Drozdov
2019-03-04Merge branch 'security-2798-fix-boards-policy' into 'master'Yorick Peterse
Disable issue board policies when issues are disabled Closes #2798 See merge request gitlab/gitlabhq!2894
2019-02-28Secure vulerability and add specsMałgorzata Ksionek
2019-02-27Merge branch '42086-project-fetch-statistics-api-http-only' into 'master'Nick Thomas
Resolve "Project fetch statistics API (HTTP only)" Closes #42086 See merge request gitlab-org/gitlab-ce!23596
2019-02-27Add project http fetch statistics APIJacopo
The API get projects/:id/traffic/fetches allows user with write access to the repository to get the number of clones for the last 30 days.
2019-02-25Enable `:read_list` when `:read_group` is enabledHeinrich Lee Yu
2019-02-15Fix 403 errors when adding an assignee list in project boardsStan Hu
Due to a bug in `BoardPolicy`, users were getting back a 403 error when trying to assign users to an assignee list and seeing "Something went wrong while fetching assignees list". For some reason, the declarative policy runtime was ignoring the ternary condition. To work around the issue, we make the project board an explicit condition check. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9727
2019-02-11Disable board policies when issues are disabledHeinrich Lee Yu
Board list policies are also included
2019-01-31[master] Pipelines section is available to unauthorized usersKamil Trzciński
2019-01-31Prevent comments by email when issue is lockedHeinrich Lee Yu
This changes the permission check so it uses the policy on Noteable instead of Project. This prevents bypassing of rules defined in Noteable for locked discussions and confidential issues. Also rechecks permissions when reply_to_discussion_id is provided since the discussion_id may be from a different noteable.
2019-01-31Fixed bug when external wiki is enabledFrancisco Javier López
When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
2019-01-31Prevent award_emoji to notes not visible to userHeinrich Lee Yu
When the parent noteable is not visible to the user (e.g. confidential) we prevent the user from adding emoji reactions to notes
2019-01-31Don't process MR refs for guests in the notesOswaldo Ferreira
2019-01-24Merge branch '56392-enable-the-layout-extraspacing-cop' into 'master'Lin Jen-Shin
Enable the Layout/ExtraSpacing cop Closes #56392 See merge request gitlab-org/gitlab-ce!24423
2019-01-24Allow admins/auditors to read private personal snippetsPatrick Bajao
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-10Service for calling Sentry issues apiReuben Pereira
2019-01-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqJohn Jarvis
2019-01-01Merge branch ↵John Jarvis
'security-53543-user-keeps-access-to-mr-issue-when-removed-from-team' into 'master' [master] Adds validation to check if user can read project See merge request gitlab/gitlabhq!2645
2018-12-31Add spec for Release APIShinya Maeda
Add spec for all release API - GET, POST, PUT, DELETE. Also, fixes some minior bugs.
2018-12-31Add releases APIAlessio Caiazza
This commit introduces Releases API under /api/v4/projects/:id/releases * We are introducing release policies at project level. * We are deprecating releases changes from tags, both api and web interface. * Tags::CreateService no longer create a release This feature is controlled by :releases_page feature flag
2018-12-30Merge branch '34758-extend-can-create-cluster-logic' into 'master'Kamil Trzciński
Allow user to add cluster when there are ancestor clusters See merge request gitlab-org/gitlab-ce!23569
2018-12-24Allow users to add cluster with ancestorsMayra Cabrera
Include a new policy in Clusterables (projects and groups), which checks if another cluster can be added clusterable_has_cluster? and multiple_clusters_available private methods will be overriden in EE Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/34758