Skip to content

Various API fixes#593

Merged
ngash merged 8 commits intodevelopfrom
user-sub-county
Mar 21, 2016
Merged

Various API fixes#593
ngash merged 8 commits intodevelopfrom
user-sub-county

Conversation

@bmarika
Copy link
Contributor

@bmarika bmarika commented Mar 13, 2016

This PR achieves a number of things:

  1. Links a Ward to a Sub-County
  2. Ensures that users can belong to more than admin area such as sub-county, county etc
  3. Enables user linking to Sub-Counties.
  4. Change the Dashboard to show facilities by sub-counties instead of constituencies
  5. Add number of CHVs in a Community Health Unit
  6. Ensures that a logged in user only sees the admin areas that they are allowed to see
    e.g the Nairobi CHRIO cannot see Mombasa county
  7. Ensure user.is_staff is set to true on updating a user where the user belongs with
    administrative rights
  8. Ensures that only operational facilities can be seen by the public
  9. Fixes the ordering fields in views.
  10. Enables user deletion

bmarika added 8 commits March 10, 2016 09:58
After further deliberation it was agreed that a ward can only be in one sub-county.
   1. Add is_public_visible field in facility status
   2. Fix user ordering fields
   3. Fix chul ordering fields
@bmarika bmarika changed the title User sub county Various API fixes Mar 21, 2016
ngash added a commit that referenced this pull request Mar 21, 2016
@ngash ngash merged commit ecbb895 into develop Mar 21, 2016
@ngash ngash deleted the user-sub-county branch March 21, 2016 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants