System User "can" create child offices under offices at same-level

Description

This is more of an issue in consistency in behaviour.

Summary:
While a systemuser only works under the context of his office, he "can" create
child offices on offices at the same level or higher.

Steps to Reproduce:
1. Make two divisional offices under MifosHO. Say DO1 and DO2.
2. Make a system user with admin rights SU1 in office DO1.
3. Login as SU1.
4. Now try creating a Branch Office in office DO2. He can!

Expected/Actual Behavior:
The way our office hierarchy works everywhere is inconsistent with this
behaviour. SU1 should not be allowed to make Branch Offices under DO2. Like
everywhere else, DO2 and Mifos HO should not even be visible as a choice. SU1
should only be able to make child offices under DO1 and DO1's child-offices.

Environment

Platform: All, OS: All

Activity

Show:
aliyaw
April 17, 2008, 1:43 AM

Pooja - this is a great catch. We agree that this is a data scope issue where
users under one divisional office should not be able to create offices or see
data under a different divisional office. We will address this issue in a
release after v1.1.

Kay Chau
January 26, 2010, 4:12 AM

Still see this issue in Gazelle C, this should be fixed...

Lukasz Chudy
September 21, 2011, 1:03 PM

Bug still exists in Release 2.2

Assignee

mifosdeveloperqueue

Reporter

poojac20

Labels

URL

None

Story Points

None

Team

None

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure