Project

General

Profile

Feature #4253

Updated by Peter Amstutz over 9 years ago

Repository creation is currently limited to admins.    It should be possible for ordinary users to create new repositories as well. 

 <pre> 
   

   def permission_to_create 
     current_user and current_user.is_admin 
   end 
 </pre> 

 (Note: one of the reasons this is currently restricted is to prevent users from abusing the repository namespace.    We should consider organizing repositories into namespaces (username/repo_name) or (groupname/repo_name) as familiar to users of github.

Back