Cooke, Mark wrote:
> I suspect that trac-admin is
> still enforcing the "all-lower-case" rule rather than "NOT
> all-upper-case".  However, I am not sure what it should really be.  Why
> not allow CamelCase for groups and just reserve all-caps?

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.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to