[openSUSE/open-build-service] ad08e4: Refactor check_access? method for projects
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: ad08e4a1fca01d887db4d38d778c8e9052ef4676 https://github.com/openSUSE/open-build-service/commit/ad08e4a1fca01d887db4d3... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/concerns/project_maintenance.rb M src/api/app/models/project.rb Log Message: ----------- Refactor check_access? method for projects Instead of having a class method, use an instance method. We will always apply this method to an existing project. Commit: 0f89325af16664ecdfe23b91a8fa518eeccdbdd5 https://github.com/openSUSE/open-build-service/commit/0f89325af16664ecdfe23b... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/owner_search/assignee.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/queries/packages_finder.rb Log Message: ----------- Refactor check_access? method for packages Instead of having a class method or an instance method, use the check_access? method from the package's project. Commit: 135bd0862d2a8ad6308bb06d4962bf4f22f62423 https://github.com/openSUSE/open-build-service/commit/135bd0862d2a8ad6308bb0... Author: Eduardo J. <enavarro@suse.com> Date: 2024-09-16 (Mon, 16 Sep 2024) Changed paths: M src/api/app/models/concerns/project_maintenance.rb M src/api/app/models/owner_search/assignee.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/queries/packages_finder.rb Log Message: ----------- Merge pull request #16768 from eduardoj/refactoring/projects_and_packages_check_access Refactor `check access?` methods for projects and packages Compare: https://github.com/openSUSE/open-build-service/compare/57091841b82f...135bd0... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Eduardo J.