Rank 2: Process
I am creating collection by function execution and then check if execution was successful then get its documents but hence leads to unauthorized_scope error.
Remember users permissions are provided in server side function execution. After HotReload everything works fine and same user can get all documents from newly created Collection.