Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5444

Privilege checks should be case-insensitive

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Platform 2.2.0, Core 2.2.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      We've had some instances where privileges were not named with consistent casing. (see EA-145) Although this was an oversight, we really should make privilege checks case-insensitive to avoid this issue.

      (Side note: would also be good to check what is happening in any client-side utility methods to check a user's privilege)

        Attachments

          Activity

            People

            • Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: