[
http://mifosforge.jira.com/browse/MIFOS-5209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=71184#comment-71184
]
Mifos Hudson Jira Plugin User commented on MIFOS-5209:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/yellow.png!
[head-g-release-secondary
#266|http://ci.mifos.org/hudson/job/head-g-release-secondary/266/]
MIFOS-5209: Added access validation for retrieving savings, fixed tests.
Jakub Slawinski :
Files :
* application/src/main/resources/META-INF/resources/WEB-INF/struts-config.xml
*
application/src/main/java/org/mifos/accounts/savings/struts/action/SavingsAction.java
*
application/src/test/java/org/mifos/accounts/savings/struts/action/SavingsActionStrutsTest.java
*
appdomain/src/main/java/org/mifos/application/servicefacade/SavingsServiceFacadeWebTier.java
*
application/src/test/java/org/mifos/accounts/struts/action/NotesActionStrutsTest.java
> Loan Officer has access to accounts from different branch by modifying URL
> address
> ----------------------------------------------------------------------------------
>
> Key: MIFOS-5209
> URL: http://mifosforge.jira.com/browse/MIFOS-5209
> Project: mifos
> Issue Type: Bug
> Affects Versions: Release 2.2.2
> Reporter: Lukasz Chudy
> Assignee: Jakub Sławiński
> Priority: Critical
> Fix For: Release 2.2.3
>
>
> Loan officer should have access to accounts only around the Branch to which
> he is attached. But by modifying Mifos URL address, Loan Officer can have
> access to any account in Mifos.
> Repro:
> 1. Login to test server http://ci.mifos.org:8085/mifos as standard 'mifos'
> user.
> 2. Select account from branch other than Branch-1, e.g. account with number
> 000100000000257.
> 3. Log out and log in as mobile Loan Officer(username: mlo password: m12345).
> 4. Enter previously selected account number (000100000000257) into search
> field and click on Search button.
> 5. Check that there are no search results.
> 6. In URL enter this address:
> http://ci.mifos.org:8085/mifos/savingsAction.do?globalAccountNum=000100000000257&method=get&recordOfficeId=9&recordLoanOfficerId=84&randomNUm=-3032146375179966014
> Expected result:
> After entering URL address with account number related to other branch,
> validation message should appear saying that you don't have sufficient
> permissions to perform that activity.
> Actual result:
> After entering URL address with account number related to other branch, it is
> possible to view account details, switch to client, group and center details.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues