Why few of the methods in administrationService not having any authorisation eg: getGlobalProperty()
Is it done intentionally or a miss ?
Why few of the methods in administrationService not having any authorisation eg: getGlobalProperty()
Is it done intentionally or a miss ?
We had a number of places like this one, which needed access to global properties before authentication. As a result, this was intentionally left as not requiring authorisation. But this was designed more than 10 years ago, and hence it could be time to revisit it.
But then methods like updateGlobalProperty look like something we just missed.
@rohit.yawalkar - Can you log JIRA issue for openmrs code (OpenMRS JIRA), and pick up this fix to add authorizations for mutation APIs of global properties?
sure @gsluthra
@rohit.yawalkar - Can you share the JIRA ticket here.
Hi @gsluthra, sharing the card https://issues.openmrs.org/browse/TRUNK-6154