Otherwise some repos using releasever are not found
…duct or repo
…everting Revert "741499-Added code to deal with weird user current org behaviour" This reverts commit a18e6d9.
1) User has access to Orgs A,B, C and C is its current org. Admin revokes access to org C from the user. User when he clicks on any page will automatically be logged out with a message stating """ You current organization is no longer valid. It is possible that either the organization has been deleted or your permissions revoked, please log back in to continue. """ 2) User has access to no orgs. Admin then provides access to orgs A, B. The user should immediately get assigned to org A just as he would reload or click any page. (it is as if the user relogged in.)
This commit is to fix the "wrong number of arguments (1 for 2)" error that may be generated when attempting to promote a repo. The commit also removes the check to see if repo has already been cloned, since this check is also done by glue/pulp/repo.rb.
…th the same name already existed and was scheduled to be deleted
This commit fixes js error that was generated when trying to access the Distributions from the template tree when the template contains a repo.