-
- Downloads
Refresh authorizations when transferring projects
This ensures that project authorizations are refreshed when moving a project from one namespace to another. When doing so the permissions for all users of both the old and new namespaces are refreshed. See #26194 for more information.
Showing
- app/models/group.rb 6 additions, 1 deletionapp/models/group.rb
- app/models/namespace.rb 4 additions, 0 deletionsapp/models/namespace.rb
- app/services/projects/transfer_service.rb 15 additions, 2 deletionsapp/services/projects/transfer_service.rb
- changelogs/unreleased/refresh-permissions-when-moving-projects.yml 4 additions, 0 deletions...s/unreleased/refresh-permissions-when-moving-projects.yml
- spec/models/group_spec.rb 13 additions, 0 deletionsspec/models/group_spec.rb
- spec/models/namespace_spec.rb 7 additions, 0 deletionsspec/models/namespace_spec.rb
- spec/services/projects/transfer_service_spec.rb 26 additions, 0 deletionsspec/services/projects/transfer_service_spec.rb
Please register or sign in to comment