Note, should be @auth.requires(...).

Anthony

On Thursday, December 20, 2012 10:04:26 AM UTC-5, Massimo Di Pierro wrote:
>
> @requires(auth.user.F1=='F')
> def yourfunction(...): ....
>
> On Thursday, 20 December 2012 06:40:09 UTC-6, Ramos wrote:
>>
>> hello i have a function to be acessed only by users with an extra field 
>> F1 set to "F"
>>
>> how to protect this function to not be used bu everyone?
>>
>> what is the best way?
>>
>> thank you
>> António
>>
>

-- 



Reply via email to