...
Ramsons
Set the User record status to Inactive after the loan is closed.
Sunflower
Add a "Staff suppress" field to the user record schema (boolean, possible values trueon UI yes/falseno). When creating records for Fake Patron, this field should be true. The Users UI App should add a facet for selection and filtering. The filter "Staff suppress = falseno" is selected by default.
Note: The logic and behavior are similar to how the Inventory UI App handles the "Staff suppress" and "Suppress from discovery" flags.
Note: Data migration is not planned.
Note: the flag of suppression can be re-used in situations where User records would need to be hidden from the Users UI App by default
...
#2 The ability to edit records about fake patrons is not desirable
...
Sunflower
Add a new, scenario-specific type of user record (for example, Hidden, Secure Patron, or Obfuscated - an agreement on the optimal name is pending), and do not show the Actions menu for User records with this type
For your reference: The user record includes a field that determines the type of the record. The possible values at the moment are Patron, Staff, Shadow, System, DCB (see https://github.com/folio-org/mod-users/src/main/java/org/folio/domain/UserType.java).
Note: this user type should be scenario-specific
...