[openSUSE/open-build-service] 80f440: Simplify Package/Project source_access policy
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 80f4409f1ff3a2b5ccdbfffc0dfefb03ffad4bf9 https://github.com/openSUSE/open-build-service/commit/80f4409f1ff3a2b5ccdbff... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-06-25 (Tue, 25 Jun 2024) Changed paths: M src/api/app/policies/package_policy.rb M src/api/app/policies/project_policy.rb M src/api/spec/policies/package_policy_spec.rb Log Message: ----------- Simplify Package/Project source_access policy Less layers of indirection (can_source_access -> can -> has_local_permission) and less duplication (has_local_permission already checks the Project of a Package) Commit: 58189e9d1950c61283b01668adc62be71c2ddc6d https://github.com/openSUSE/open-build-service/commit/58189e9d1950c61283b016... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-06-25 (Tue, 25 Jun 2024) Changed paths: M src/api/app/policies/package_policy.rb M src/api/app/policies/project_policy.rb M src/api/spec/policies/package_policy_spec.rb Log Message: ----------- Merge pull request #16403 from hennevogel/refactoring/package-project-sourceaccess Simplify Package/Project source_access policy Compare: https://github.com/openSUSE/open-build-service/compare/3d39beb66394...58189e... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Henne Vogelsang