Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1785

Improve CoPerson::recalculateStatus Handling of Suspended Status

    XMLWordPrintable

Details

    Description

      An admin may manually set a CO Person to "Suspended" regardless of the status of that person's Roles to immediately disable the Person's access to services. However, recalculateStatus might then undo the overall status, eg due to an OIS sync or an Enrollment Flow.

      Update recalculateStatus() so that if a CO Person is in Suspended status no change is made to the overall CO Person status. An exception might be if the CO Person Role that triggered recalculation is switching from Suspended to not Suspended, though there still could be an edge case where the CO Person was manually suspended and should not be automatically unsuspended.

      An individual Role switching to Suspended status probably shouldn't set the CO Person overall to Suspended in the first place, since then eg one SOR could cause the Person to become Suspended even though another SOR might still consider them Active. ie: CO Person Suspended Status becomes a manual-only operation for CO administrators.

      Document whatever the new rules are.

      Attachments

        Issue Links

          Activity

            People

              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: