[openSUSE/open-build-service] 7cf1f7: Add trigger policy when triggering a token
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 7cf1f78f5a026c958c313e2967cf69b3648d946c https://github.com/openSUSE/open-build-service/commit/7cf1f78f5a026c958c313e... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-08-03 (Tue, 03 Aug 2021) Changed paths: M src/api/app/controllers/concerns/rescue_handler.rb M src/api/app/controllers/trigger_controller.rb M src/api/app/controllers/trigger_workflow_controller.rb M src/api/app/policies/token/rebuild_policy.rb M src/api/app/policies/token/release_policy.rb M src/api/app/policies/token/service_policy.rb M src/api/app/policies/token/workflow_policy.rb M src/api/test/functional/source_services_test.rb Log Message: ----------- Add trigger policy when triggering a token Instead of having a "create" policy used in token trigger controllers, we rely in a new "trigger" policy in tokens. Commit: db492ddc8f75ff8590be819d77d0e917ad4ab860 https://github.com/openSUSE/open-build-service/commit/db492ddc8f75ff8590be81... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-08-03 (Tue, 03 Aug 2021) Changed paths: M src/api/app/controllers/trigger_controller.rb M src/api/app/policies/token/rebuild_policy.rb M src/api/app/policies/token/release_policy.rb M src/api/app/policies/token/service_policy.rb M src/api/app/policies/token/workflow_policy.rb Log Message: ----------- Refactor picking the user when triggering a token Commit: 8b40959285e2a964a4e0df1e545809da65d30e21 https://github.com/openSUSE/open-build-service/commit/8b40959285e2a964a4e0df... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-08-03 (Tue, 03 Aug 2021) Changed paths: M src/api/app/policies/token/rebuild_policy.rb M src/api/app/policies/token/release_policy.rb M src/api/app/policies/token/rss_policy.rb M src/api/app/policies/token/service_policy.rb M src/api/app/policies/token/workflow_policy.rb A src/api/app/policies/token_policy.rb Log Message: ----------- Introduce Token base policies Make workflow policies to inherit from TokenPolicy. Commit: a9ff49bbed8817f09986647522f1d59d966d4907 https://github.com/openSUSE/open-build-service/commit/a9ff49bbed8817f0998664... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-08-03 (Tue, 03 Aug 2021) Changed paths: M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/policies/token_policy.rb R src/api/app/policies/webui/token/rebuild_policy.rb R src/api/app/policies/webui/token/release_policy.rb R src/api/app/policies/webui/token/rss_policy.rb R src/api/app/policies/webui/token/service_policy.rb R src/api/app/policies/webui/token/workflow_policy.rb R src/api/app/policies/webui/token_policy.rb M src/api/app/views/webui/users/tokens/index.html.haml Log Message: ----------- Merge namespaced webui Token policy with Token policy Commit: b9220808bebdc51e3a01bd07720c657febc78d80 https://github.com/openSUSE/open-build-service/commit/b9220808bebdc51e3a01bd... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-08-03 (Tue, 03 Aug 2021) Changed paths: M src/api/spec/policies/token/rebuild_policy_spec.rb M src/api/spec/policies/token/release_policy_spec.rb M src/api/spec/policies/token/service_policy_spec.rb M src/api/spec/policies/token/workflow_policy_spec.rb M src/api/spec/support/shared_examples/tokens.rb Log Message: ----------- Modify Token policy tests Commit: ae2fc105663e8d1378c2e7156efe1219c89dac12 https://github.com/openSUSE/open-build-service/commit/ae2fc105663e8d1378c2e7... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-08-05 (Thu, 05 Aug 2021) Changed paths: M src/api/app/controllers/concerns/rescue_handler.rb M src/api/app/controllers/trigger_controller.rb M src/api/app/controllers/trigger_workflow_controller.rb M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/policies/token/rebuild_policy.rb M src/api/app/policies/token/release_policy.rb M src/api/app/policies/token/rss_policy.rb M src/api/app/policies/token/service_policy.rb M src/api/app/policies/token/workflow_policy.rb A src/api/app/policies/token_policy.rb R src/api/app/policies/webui/token/rebuild_policy.rb R src/api/app/policies/webui/token/release_policy.rb R src/api/app/policies/webui/token/rss_policy.rb R src/api/app/policies/webui/token/service_policy.rb R src/api/app/policies/webui/token/workflow_policy.rb R src/api/app/policies/webui/token_policy.rb M src/api/app/views/webui/users/tokens/index.html.haml M src/api/spec/policies/token/rebuild_policy_spec.rb M src/api/spec/policies/token/release_policy_spec.rb M src/api/spec/policies/token/service_policy_spec.rb M src/api/spec/policies/token/workflow_policy_spec.rb M src/api/spec/support/shared_examples/tokens.rb M src/api/test/functional/source_services_test.rb Log Message: ----------- Merge pull request #11447 from eduardoj/merge_token_policies Merge `webui` namespaced Token policies with previous Token policies Compare: https://github.com/openSUSE/open-build-service/compare/7444b0478a00...ae2fc1...
participants (1)
-
Henne Vogelsang