Increase maximum size for role name
Permissions and roles
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.
Updated by Aleksandar Pavic over 5 years ago
Updated migration, since rails didn't put any content into it...
Updated by Toshi MARUYAMA over 5 years ago
- Target version set to 4.1.0
Updated by Go MAEDA about 4 years ago
- Category changed from Code cleanup/refactoring to Permissions and roles
Updated by Jean-Philippe Lang almost 4 years ago
- 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