[obs-commits] [openSUSE/open-build-service] 4e0356: [frontend] Add tests for GroupsController#update
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 4e03566f839f20a37178f3ce4ce45e0afb507cbd https://github.com/openSUSE/open-build-service/commit/4e03566f839f20a37178f3... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-01-03 (Wed, 03 Jan 2018) Changed paths: M src/api/spec/controllers/webui/groups_controller_spec.rb Log Message: ----------- [frontend] Add tests for GroupsController#update Commit: ef61b44b1006bd6d98f4ac46cc5b51481c401ab4 https://github.com/openSUSE/open-build-service/commit/ef61b44b1006bd6d98f4ac... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-01-03 (Wed, 03 Jan 2018) Changed paths: M src/api/app/controllers/webui/groups_controller.rb M src/api/spec/controllers/webui/groups_controller_spec.rb M src/api/spec/features/webui/groups_spec.rb Log Message: ----------- [frontend] Fix redirect of GroupsController#update While group maintainers are allowed to edit a group they maintain they are not permitted to see all existing groups. So when a group maintainer edited a group successfully, he still saw a flash message telling him ''. Changing the redirect to the edit page instead fixes the error. This also means that the user sees the group he just edited instead of all existing groups. Commit: 4dc6e130d8cd76cd411a91d998b1b636f4d4da3f https://github.com/openSUSE/open-build-service/commit/4dc6e130d8cd76cd411a91... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-01-03 (Wed, 03 Jan 2018) Changed paths: M src/api/app/controllers/webui/groups_controller.rb M src/api/spec/controllers/webui/groups_controller_spec.rb M src/api/spec/features/webui/groups_spec.rb Log Message: ----------- Merge pull request #4290 from bgeuken/group_administration Group administration Compare: https://github.com/openSUSE/open-build-service/compare/d72ee343fda8...4dc6e1...
participants (1)
-
Björn Geuken