Patch #27625
Increase maximum size for role name
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Permissions and roles | |||
Target version: | 4.1.0 |
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.
Associated revisions
Increase maximum size for role name (#27625).
Patch by Aleksandar Pavic.
History
#1
Updated by Aleksandar Pavic over 4 years ago
- File 20171123100727_change_roles_limit.rb
added
Updated migration, since rails didn't put any content into it...
#2
Updated by Toshi MARUYAMA over 4 years ago
- Target version set to 4.1.0
#3
Updated by Go MAEDA over 3 years ago
- Category changed from Code cleanup/refactoring to Permissions and roles
#4
Updated by Jean-Philippe Lang about 3 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
Committed, thanks.