[katello-devel] loosening name restrictions for objects

Tom McKay thomasmckay at redhat.com
Mon Mar 18 12:01:09 UTC 2013


Currently, many objects use the KatelloNameFormatValidator which restricts names to "cannot contain characters other than alpha numerals, space, '_', '-'". I'd like to lessen these restrictions to just "cannot contain characters >, <, or /" wherever possible.

Proposed changes:
src/app/lib/validators/rolename_validator.rb
src/app/models/permission.rb
src/app/models/sync_plan.rb
src/app/models/kt_environment.rb
src/app/models/provider.rb
src/app/models/content_view_definition.rb
src/app/models/content_view.rb
src/app/models/gpg_key.rb
src/app/models/system_group.rb
src/app/models/product.rb
src/app/models/activation_key.rb

Leave unchanged:
src/app/lib/validators/username_validator.rb




More information about the katello-devel mailing list