summaryrefslogtreecommitdiffstats
path: root/app/models/role.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-31 15:30:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-31 15:30:50 +0000
commit44ffc5a3365ffd16d6971d1c3f691a2f3f80ba3b (patch)
tree8d0db8696ecbb0c67821dc3c11f2243a1425b28d /app/models/role.rb
parent92d34234b01f7d0e7850b50ccd2559f1e63cac5d (diff)
downloadredmine-44ffc5a3365ffd16d6971d1c3f691a2f3f80ba3b.tar.gz
redmine-44ffc5a3365ffd16d6971d1c3f691a2f3f80ba3b.zip
Remove the limitation on characters that can be used in custom_field, issue_status, role, tracker, user names (#5152).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4599 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/role.rb')
-rw-r--r--app/models/role.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/role.rb b/app/models/role.rb
index d1bebdb6d..6a4b9e4e3 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -43,7 +43,6 @@ class Role < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name
validates_length_of :name, :maximum => 30
- validates_format_of :name, :with => /^[\w\s\'\-]*$/i
def permissions
read_attribute(:permissions) || []