Can't change permissions if userid is all uppercase
|Reported by:||anonymous||Owned by:|
Description (last modified by )
If you're using smart cards and your Common Name (CN) is somthing like
SMITH.JOHN.1234567890, then trying to make this user an admin will fail:
# trac-admin . permission add SMITH.JOHN.1234567890 TRAC_ADMIN # Error: All upper-cased tokens are reserved for permission names
This topic is diccussed in ticket #2790 where it was decided that it was an error if the userid was all uppercase.
It works if you use the Distinguished Name (DN):
# trac-admin . permission add "/C=US/O=Acme Co./OU=DoD/OU=PKI/OU=EMPLOYEE/CN=SMITH.JOHN.1234567890" TRAC_ADMIN
Is there a fix or work around for this?