We don't use an "admin" user, in fact there is one but it is disabled, so that
avoids the problem.  ("admin" is a frequent login attack anyway).

It would be good to have allura work with a user called admin though :)  Some
neighborhood admin pages are at /_admin with an underscore.  I think those are
for neighborhood-specific things like overview & awards, and pages that are
shared with projects are at just "admin".  Maybe for neighborhoods they all
could be made to work with _admin

For project names, at SourceForge we have a custom ProjectRegistrationProvider
plugin.  And that has a custom validator set to self.shortname_validator, which
enforces various naming conventions - including prohibiting "admin" as a project
name.  Or you could restrict who has project registration permissions (like
forge-allura.apache.org does) so people can't register projects on their own.

On 1/29/19 8:43 AM, Ingo Hornberger wrote:
> Hi guys!
> 
> How can I administrate a neighborhood like "/u"?
> /u/admin leads to the profile of the admin user ;)
> 
> Similar things will happen when someone gets the idea to create project,
> named "admin" ;)
> 
> BR,
> Ingo
> 



-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Reply via email to