gitlab-org--gitlab-foss/spec
Phil Hughes 8585ae61e7
Fix fork button being disabled for users who can fork to group
Previously the fork button was disabled for all users if they have
exceeded their project limit. This fixes that by changing the check
to see if the user can fork to a group instead of their own namespace.

This behaviour is already possible by visiting the new fork page
directly, so this just fixes the button being disabled.

Closes #38462
2017-09-29 10:51:26 +01:00
..
bin
config
controllers
db/production
factories Merge branch 'hashed-storage-migration-path' into 'master' 2017-09-28 17:26:16 +00:00
features Fix fork button being disabled for users who can fork to group 2017-09-29 10:51:26 +01:00
finders Support custom attributes on users 2017-09-28 16:49:42 +00:00
fixtures Expose last pipeline details in API response when getting a single commit 2017-09-26 13:08:46 +02:00
helpers Merge branch '38189-fix-user-avatar-url-cdn' into 'master' 2017-09-25 11:04:14 +00:00
initializers
javascripts Merge branch 'remove-target-dd' into 'master' 2017-09-29 08:33:10 +00:00
lib Merge branch 'feature/migrate-repository-rm-tag-to-gitaly' into 'master' 2017-09-28 22:43:37 +00:00
mailers
migrations
models Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
policies Support custom attributes on users 2017-09-28 16:49:42 +00:00
presenters
requests Support custom attributes on users 2017-09-28 16:49:42 +00:00
routing
rubocop/cop
serializers
services Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
sidekiq/cron
support Support custom attributes on users 2017-09-28 16:49:42 +00:00
tasks Add support to migrate existing projects to Hashed Storage async 2017-09-28 16:32:14 +01:00
unicorn
uploaders
validators
views Add context tabs to dashboard/projects 2017-09-22 12:12:15 +01:00
workers Add support to migrate existing projects to Hashed Storage async 2017-09-28 16:32:14 +01:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Automatically set a :type for specs 2017-09-22 09:16:43 +02:00