From: Krzysztof B. <kb...@un...> - 2017-01-27 21:49:54
|
Hi Sander, W dniu 27.01.2017 o 10:43, Sander Apweiler pisze: > Hi Krzysztof, > > We decided to "upgrade" the CN attribute from optional to mandatory. So > we need to collect the CN from existing users. I want to use an enquiry > form for it, because it seems to be perfect for it. > > On my test instance I created a very simple enquiry form. It is > mandatory for users in root group. It has no email settings. CN is > collected as mandatory attribute. There are no further settings in the > form. > > By testing the form I got the following two issues: > > 1. Users with CN attribute, got this enquiry too. Is it possible to > prevent users with requested attribute from this enquiry? Not directly. Currently you need to create some auxiliary group in Unity, manually drag all users without CN to it and use this group as enquiry base group. We can think about some automation related to this aspect if the above approach is not acceptable for you. > 2. After submitting the CN via enquiry form the user still has no CN > attribute. My test users got the sys:FilledEnquires attribute but no CN > attribute. Did I something wrong or should there no CN attribute? The enquiry request needs to be accepted. Either manually or you can configure your enquiry form to auto-accept requests. The later is configured in form's -> 'automatically assigned settings' tab. Add 'autoProcess' action with 'accept' parameter. Note that I just found one bug around this scenario: enquiry without any identity won't be accepted. I'm working on a fix. Best, Krzysztof |