Security

Reply

whitelist of emails for sponsors

Hello i would like to know how to do the whitelist of users that can be sponsors in a company

I tried the fallowing without sucess

 

In the form in validator propierties on sponsorship email i put on validator isValidEmail

And on  validator argument

 

array (
'allow' =>
array (
0 => 'cdelarosa@abc.com',

1 => 'cdelarosa2@abc.com',
),
'deny' =>
array (
),
)

 

Anyone can enlight me in what i would need to change for this to work?

 

Cheers

Carlos

----------------------------------------------------
Product Manager - Aruba Networks
Alternetworks Corp
Aruba Employee

Re: whitelist of emails for sponsors

If you have a fixed list of options you are whitelisting, then the easiest thing is to set the Validator to IsInOptionsList.  That should pop open the Options Generator, which you want to set to Use Options.  Then in that text area put one email per line.

 

If you are not secretive you can change sponsor_email itself to a Drop Down in the UI selector.  Keep the validator the same.  If you want a prettier display add a pipe '|' then the label in each line.  

cdelarosa@abc.com | East Region (Carlos)
cdelarosa2@abc.com | West Region (Carlos2)

 

Note the more advanced way for all this is to use the LDAP lookups and use a custom LDAP filter to control and lockdown everyone within your central server.  

Highlighted

Re: whitelist of emails for sponsors

Hello gbenedict 

Thank you for your reply

 

I have done the option number 2 you mention and i did ask the client if he wanted something liek that but he said that the list would be too long and he didnt like that idea.

 

Ill try your option number 1.  I have never configured that before.

 

Thank you 

 

Cheers

Carlos

----------------------------------------------------
Product Manager - Aruba Networks
Alternetworks Corp
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: