blocking users for data maintenance

1
Hi Guys, I'm trying to block users for when the customer needs to do some data maintenance, e.g. ref data or some data fix. I'm aware that the usual block (when user incorrectly types psw 3 times) blocks the user for +- 5 minutes. I have implemented a couple of actions one to block a certain type of users and one to unblock them again. My question is... are we able to enforce this block for longer than 5 minutes? I looked at the "inactive", but that doesn't sound like a good logical solution. The block field seems very much the logical one to use, but within 5 minutes everyone is unblocked, which may not be enough time for Ops team to do their data maintenance. Is there another way to implement such functionality in a simple way? Ideally we would have access to this magical 5 minute setting from the microflow. LR.
asked
4 answers
2

We have a maintenance mode in our application. In all the home pages of our app we check if maintenance mode is active. If so the user is logged out with a java action. When a maintenance window comes up the user is presented with a notification when the maintenance will take place so it get's a headsup when the system will not be available for him. After he clicks it he can use the app normally, unless the timeframe for the maintenance is already there. Then he will be logged out. Works perfect for us.

Regards,

Ronald

answered
0

Hi Luis,

An idea of what you can do is make a setting like 'blocked', default false. Now, in the homeflow (you can find this in your navigation) you can do a check on this setting (except for the admin). When true, do a show page of the login page. Now the admin can configure if the App is available. To make sure everybody is out, I think you have to restart the app.

answered
0

AFAIK it isn't possible to change the 5 minute window in which users get unblocked again. What I would suggest is do use the active boolean from System.User. Even though it might not be that logical, it's a lot less complicated than trying to make the blocked boolean fit for purpose.

answered
0

In the security settings (tab Anonymous if I am right) you can specify which microflow to run when a user logs in. You can check the in-maintenance-mode flag and take appropriate action (reroute to a specific page, show a message and logout, etc.)

And do not forget to include webservices and other interfaces (scheduled import of emails for example) to make sure that all such automated processes adhere to the in-maintenance-mode flag.

answered