I have a many2many field of res.users called participants in my custom model.
I also have a regular field passcode in res.users which they can change in their user preferences.
Lets say I add a user (John) to participants. On my screen a prompt is shown where John has to enter his passcode to authorize this participation.
How do I do that?
You are adding participants on custom model. after adding participants, if any one form this list is trying to modify their passcode field a validation is required. is it right?
No, I will explain further:
Right now, I have a system that sends invites but I need it for this scenario:
A person comes to the organizer's office and says: "I want to participate in this event".
The organizer says: "Okay, I will add you to the list, please enter your passcode to authorize your entry".
The person (who is already given his passcode during registration from a different office) has to enter the passcode so his participation is complete.
Which means, it has to be done from the same screen without logging in or out.