Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ce31cec741f7eb66d8b81a9f114a8c3651f4e5a3
https://github.com/openSUSE/open-build-service/commit/ce31cec741f7eb66d8b81a...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[api] use create check for unsaved projects
Given that permission checks runs now on store time (not before creating
the memory object) we need to avoid using modify check
Commit: 7dc504f76d02a68408978f877a61db0286ea7349
https://github.com/openSUSE/open-build-service/commit/7dc504f76d02a68408978f...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/app/policies/project_policy.rb
Log Message:
-----------
[api] Use create check for create policy
Commit: 626d411100cc796495a68f471a3d682f270ffb4d
https://github.com/openSUSE/open-build-service/commit/626d411100cc796495a68f...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/helpers/branch_package.rb
Log Message:
-----------
[api] don't run permission check on half-created project instance
Commit: edc8b1f51521e64866e56b98aa2461ba00d695ad
https://github.com/openSUSE/open-build-service/commit/edc8b1f51521e64866e56b...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
[api] make can_modify_project? more readable
Commit: 4ee5338c249c5927e873b741a66481f55bb9d13a
https://github.com/openSUSE/open-build-service/commit/4ee5338c249c5927e873b7...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/test/functional/webui/project_controller_test.rb
Log Message:
-----------
[ci][webui] test home project creation permission
Commit: 2bc8e1c8846acf9fc9cb4a63e3e673a1a9edc249
https://github.com/openSUSE/open-build-service/commit/2bc8e1c8846acf9fc9cb4a...
Author: Adrian Schröter
Date: 2015-10-24 (Sat, 24 Oct 2015)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/helpers/branch_package.rb
M src/api/app/models/project.rb
M src/api/app/models/user.rb
M src/api/app/policies/project_policy.rb
M src/api/test/functional/webui/project_controller_test.rb
Log Message:
-----------
Merge pull request #1298 from adrianschroeter/permission_handling
Permission handling cleanup
Compare: https://github.com/openSUSE/open-build-service/compare/e4cd8d2f5845...2bc8e1...