How can I use “type ahead” in xpages for anonymous users without compromising database security?

StackOverflow https://stackoverflow.com/questions/11128651

سؤال

I'm developing a xpage application using an anonymous form for yet unknown (not authenticated) users. The database ACL is set to not give anonymous users access to the content (e.g. views and documents). In general no public access is allowed. However, is there a way to make field type ahead work for input fields using content from the database views without opening them for the public?

هل كانت مفيدة؟

المحلول

You can use sessionAsSigner-object in SSJS to access your data with a different access level.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top