You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

find_privileged()

Usage

find_privileged(type, key, value, key, value, ...)
find_privileged(type, key, value)
find_privileged(type, map)
find_privileged(type, uuid)
find_privileged(type)

Description
Executes a find() operation with elevated privileges.

Usecases
find_privileged() can be used to query data from an anonymous context or when a users privileges need to be escalated.

Caution
It is recommended to use find() instead of find_privileged() whenever possible, as improper use of find_privileged() can result in the exposure of sensitive data.

Search results for "find_privileged()"

find_privileged()

Executes a find() operation with elevated privileges.
Usecases
find_privileged() can be used to query data from an anonymous context or when a users privileges need to be escalated.

find_privileged(type [, key1, value1 [, ... ]] )
find_privileged(type [, map ])
find_privileged(type [, uuid ])
find_privileged(type)