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

Add missing privileges on service methods

    Details

    • Type: Bug
    • Status: Needs Assessment
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: Platform 2.0.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Add the missing privileges required for the following methods:

      UserService.java
      getRole(String r)
      getRoleByUuid(String uuid)
      getAllRoles()
      getPrivilege(String p)
      getPrivilegeByUuid(String uuid)
      getAllPrivileges()
      changePassword(String pw, String pw2)
      changeQuestionAnswer(String pw, String q, String a)
      getSecretQuestion(User user)
      isSecretAnswer(User u, String answer)
      setUserProperty(User user, String key, String value)
      removeUserProperty(User user, String key)
      notifyPrivilegeListeners(User user, String privilege, boolean hasPrivilege)
      saveUserProperty(String key, String value)
      saveUserProperties(Map<String, String> properties)
      changePasswordUsingSecretAnswer(String secretAnswer, String pw)
      
      PersonService.java
      savePersonMergeLog(PersonMergeLog personMergeLog)
      getPersonMergeLogByUuid(String uuid, boolean deserialize)
      getAllPersonMergeLogs(boolean deserialize)
      getWinningPersonMergeLogs(Person person, boolean deserialize)
      getLosingPersonMergeLog(Person person, boolean deserialize)
      checkIfPersonAttributeTypesAreLocked()
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wyclif Wyclif Luyima
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: