Patch #27625
closed
Increase maximum size for role name
Added by Aleksandar Pavic about 9 years ago.
Updated over 7 years ago.
Category:
Permissions and roles
Description
It is limited in model of Role, at line 84
validates_length_of :name, :maximum => 30
Attached is a patch, increasing it to 255, however I wouldn't limit it at all.
Also migration is added here.
Files
Updated migration, since rails didn't put any content into it...
- Target version set to 4.1.0
- Category changed from Code cleanup/refactoring to Permissions and roles
- Subject changed from Increase size of name for role name to Increase maximum size for role name
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Also available in: PDF
Atom