On Apr 26, 10:57 am, Remy Blank <remy.bl...@pobox.com> wrote: > I can confirm this behavior on current trunk. Permissions must be > all-uppercase and groups all-lowercase. The code checks for either > .isupper() or .islower() to be true for all arguments to "permission add". > > The admin panel only checks that neither users nor groups are > all-uppercase. No other checks are done. > > I guess the inconsistency counts as a bug, so you may want to open a > ticket for that (make sure you search for duplicates first). I don't > know which behavior is correct, though.
The "principle of least surprise" suggests the admin panel behavior is correct, and the bug is in trac-admin. If the admin panel is changed, many existing installations will break (it's a restriction of rules). If trac-admin is changed, no existing installations break (it's a relaxation of rules). --Hal -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.