Activate a user while a user is logging into the application
0
I am trying to activate a user only once the user tries to login after checking a certain condition, I am unable to change the active attribute while the user is trying to log in. As soon as I trigger the login microflow, I am able to check my condition but when I am trying to change the active attribute to true, I am getting Active attribute is read only error. Is there a way to change the active( System.User) attribute to true.
asked
Nausheen Azam
1 answers
0
Nausheen,
Does the user trying to login have a user role that can manage other user roles? I think you will need to set that in order to enable the Active attribute to be changed. For each user role, you should grant the right to manage other users with the same user role (i.e. in the example below, user role Guest should be able to manage users with Guest user role).