- 04 2月, 2016 4 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
- 03 2月, 2016 3 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
-
- 02 2月, 2016 1 次提交
-
-
由 Kamil Trzcinski 提交于
This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
-
- 15 1月, 2016 1 次提交
-
-
由 Andrew Johnson 提交于
Also fix a few places where page_404 should be render_404.
-
- 14 1月, 2016 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 04 1月, 2016 1 次提交
-
-
由 Valery Sizov 提交于
-
- 16 12月, 2015 1 次提交
-
-
由 Jason Lee 提交于
It won't change anything after they are first invoke, so add method cache to avoid allocations and avoid GC. Benchmarks: ``` Calculating ------------------------------------- project_guest_rules without method cache 79.352k i/100ms project_guest_rules with method cache 93.634k i/100ms ------------------------------------------------- project_guest_rules without method cache 2.865M (±32.5%) i/s - 11.982M project_guest_rules with method cache 4.419M (± 7.4%) i/s - 22.004M Comparison: project_guest_rules with method cache: 4418908.0 i/s project_guest_rules without method cache: 2864514.0 i/s - 1.54x slower Calculating ------------------------------------- project_report_rules without method cache 53.126k i/100ms project_report_rules with method cache 97.473k i/100ms ------------------------------------------------- project_report_rules without method cache 1.093M (±36.5%) i/s - 4.675M project_report_rules with method cache 4.420M (± 7.2%) i/s - 22.029M Comparison: project_report_rules with method cache: 4420054.3 i/s project_report_rules without method cache: 1092509.6 i/s - 4.05x slower ``` https://gist.github.com/huacnlee/b04788ae6df42fe769e4
-
- 02 12月, 2015 2 次提交
-
-
- 18 11月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
-
- 17 11月, 2015 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 16 11月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 12 11月, 2015 1 次提交
-
-
由 James Lopez 提交于
-
- 11 11月, 2015 1 次提交
-
-
由 James Lopez 提交于
refactored code as projects only have one owner. Kept some refactoring in place (has_owners concern)
-
- 10 11月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
- Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
-
- 03 11月, 2015 2 次提交
-
-
由 James Lopez 提交于
refactored permissions and added update_project_member ability logic. Also refactored owner methods to a concern.
-
-
- 30 10月, 2015 1 次提交
-
-
- 14 10月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 13 10月, 2015 1 次提交
-
-
由 Han Loong Liauw 提交于
This was previously possible through the API but can now be done through the project#edit settings screen if the current user is the owner of the project. Update changelog
-
- 12 10月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 14 9月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 09 9月, 2015 2 次提交
-
-
由 Valery Sizov 提交于
-
由 Valery Sizov 提交于
-
- 28 7月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 25 7月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
This was necessary because this permission is checked dynamically by `app/views/shared/issuable/_context` when on a Merge Request. Closes #2058
-
- 20 7月, 2015 2 次提交
-
-
由 Daniel Gerhardt 提交于
Unauthenticated users had access to disabled features of public projects. The code has been slightly refactored so that feature checks are done in a separate method and can also be applied for public access.
-
由 Daniel Gerhardt 提交于
The label page was added to navigation for unauthorized users because the previously used milestone read permission was still checked. This has been fixed and read access to labels is now granted (again) for public projects. This regression has been introduced in 07efb17e (7.12). See also 9bcd3639. Refs !836, !842.
-
- 30 6月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 27 6月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 26 6月, 2015 3 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 25 6月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-