Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 9d64725c712f4457e8d8118a1188bddfe0d481ea
https://github.com/openSUSE/open-build-service/commit/9d64725c712f4457e8d811...
Author: Lukas Krause
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M src/api/app/components/request_decision_component.html.haml
M src/api/app/components/request_decision_component.rb
M src/api/app/policies/bs_request_policy.rb
Log Message:
-----------
Move `can_decline_request?` logic to a pundit policy
This code is for authorization and therefore should be in a
pundit policy.
Commit: e6aaa07115daad84f4f8ac390ff832b644943283
https://github.com/openSUSE/open-build-service/commit/e6aaa07115daad84f4f8ac...
Author: Lukas Krause
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M src/api/app/components/request_decision_component.rb
M src/api/app/controllers/webui/request_controller.rb
M src/api/app/views/webui/request/beta_show.html.haml
Log Message:
-----------
Remove `is_author` variable from `request_decision_component`
After moving out some of the authorization logic from
the view component the variable is not longer needed.
Commit: 5bf1b68e8efedda23078f5a060c34cec2f325328
https://github.com/openSUSE/open-build-service/commit/5bf1b68e8efedda23078f5...
Author: Henne Vogelsang
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M src/api/app/components/request_decision_component.html.haml
M src/api/app/components/request_decision_component.rb
M src/api/app/controllers/webui/request_controller.rb
M src/api/app/policies/bs_request_policy.rb
M src/api/app/views/webui/request/beta_show.html.haml
Log Message:
-----------
Merge pull request #15165 from krauselukas/refactor/create_decline_policy
Move `can_decline_request?` logic to a pundit policy
Compare: https://github.com/openSUSE/open-build-service/compare/e95036c9f286...5bf1b6...
To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications