Closed (fixed)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 May 2012 at 05:26 UTC
Updated:
31 May 2012 at 17:00 UTC
I noticed that if I have it set up so that users can have the cool http://mysite.com/username type of usernames, it'll cause problems if someone chooses to have a username of say "admin", "cpanel", "user" etc. So is there a way to make it somewhere in the admin area so that users can't choose whatever usernames that I decide should not be used by anyone? Just like the "Strings to Remove" field, maybe have something like a "Strings to Prevent" field?
Comments
Comment #1
marcoka commentedi would say a username blacklist would that be called. path auto is not doing such stuff.
i remember that you can define rules for usernames "admin/user/rules"
Comment #2
dave reidYeah this is out of scope for pathauto. This is why we provide a encourage users to not set a pattern as just one token at the root-level of the site as it can cause multiple problems.
Comment #3
jay.lee.bio commentedWow, there sure is a module for everything. Thanks guys, that "admin/user/rules" piece (which I think is for Drupal 6) helped me find the solution:
http://drupal.org/project/user_restrictions