Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scope of this feature is to provide only platform capability and doesn't include any UI.

Separate

...

URL endpoints for customer self service


All the APIs resources for customer self service would start with /mifosng-provider/api/v1/self.

...

This API would be available only /mifosng-provider root, indicating this is in control of back for back office/administrative user.

...

A self service user should be  able to use only self service APIs and back officer should not have access to self service APIs and vice versa.

Any APIs API with root /mifosng-provider should be accessible only for m_appusers whose is_self_service_user attribute is false and Any APIs with root /mifosng-selfservice URL containing /self/ should be accessible only for m_appusers whose is_self_service_user attribute is true.

Two new AuthenticationProvider classes would be created extending existing default spring DaoAuthenticationProvider one each for /mifosng-provider and /mifosng-selfservice rootsURLs with /self/ and one for existing APIs. These extensions would additionally check the is_self_service_user attribute and enforce proper authorisation.

...