In EMR-API, where privileges were first introduced, the privileges to view and edit privileges were names as follows:
when they were migrated to core, they were changed to:
The latter is the correct standard, however when upgrading to Core 2.2 the privilege names aren't updated (assumedly because the test to see if the privilege already exists is case-insensitive).
This has been problematic, because it looks like some of the privilege checks are case sensitive.
The core checks should be make insensitive, which has been ticketed in
TRUNK-5444, but it would also be nice to clean up the underlying inconsistency.
One way to do this would be change the privileges names in EMR-API, and add a changeset to update the privileges in the database... this would be potentially a little tricky as privilege names are used as primary keys.