hello,
i use ser 0.8.11 now. i think,that access control does not work fine. For example: A user can only local call. It is namely: When i use function: is_user_in("credentials","local"). It should be true. When i use function: is_user_in("credentials", "ld"). It should be flase. But in fact both case are flase.
Instead of is_user_in("credentials",..) I use is_user_in("From",..)later. It works fine.
Is it a bug or my error?
regards
Yongcheng Chen
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
Hello, better shift to 0.8.12. More comments inline.
On 1/26/2004 12:28 PM, Chen Youcheng wrote:
hello,
i use ser 0.8.11 now. i think,that access control does not work fine. For example: A user can only local call. It is namely: When i use function: is_user_in("credentials","local"). It should be true. When i use function: is_user_in("credentials", "ld"). It should be flase. But in fact both case are flase.
Have you challenged the request before? Otherwise there is no header with credentials.
.Daniel
Instead of is_user_in("credentials",..) I use is_user_in("From",..)later. It works fine.
Is it a bug or my error?
regards
Yongcheng Chen
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
a quick guess is you did not authenticate the user first. -jiri
At 12:28 PM 1/26/2004, Chen Youcheng wrote:
hello,
i use ser 0.8.11 now. i think,that access control does not work fine. For example: A user can only local call. It is namely: When i use function: is_user_in("credentials","local"). It should be true. When i use function: is_user_in("credentials", "ld"). It should be flase. But in fact both case are flase.
Instead of is_user_in("credentials",..) I use is_user_in("From",..)later. It works fine.
Is it a bug or my error?
regards
Yongcheng Chen
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/