You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The permissions API reference is missing description and links for getPermissions and refreshPermissions APIs.
The getPermissions API example says it must typically be wrapped in a useEffect as resolving dynamic permissions will update the reference, but it also says that calling it will resolve dynamic permissions. This implies it would create an infinite loop. Either the docs are bad, or the API is wrong. Needs investigation.
The text was updated successfully, but these errors were encountered:
Observed some issues with the permissions docs:
getPermissions
andrefreshPermissions
APIs.getPermissions
API example says it must typically be wrapped in a useEffect as resolving dynamic permissions will update the reference, but it also says that calling it will resolve dynamic permissions. This implies it would create an infinite loop. Either the docs are bad, or the API is wrong. Needs investigation.The text was updated successfully, but these errors were encountered: