[katello-devel] loosening name restrictions for objects

Bryan Kearney bkearney at redhat.com
Mon Mar 18 12:03:27 UTC 2013


On 03/18/2013 08:01 AM, Tom McKay wrote:
> 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
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
>
+1

-- bk




More information about the katello-devel mailing list