fireconsole | Server to firebug | Addon library
kandi X-RAY | fireconsole Summary
kandi X-RAY | fireconsole Summary
Server to firebug logging
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Encode an object
- Load a class
- Get the body .
- Register a new template pack
- Returns the declaring function .
- Factory method to create a new Tag object from a given docblock .
- Run the application
- Get methods .
- Get docblock .
- Returns the variable name .
fireconsole Key Features
fireconsole Examples and Code Snippets
Community Discussions
Trending Discussions on fireconsole
QUESTION
I'm trying to get request.auth.uid == userId to be tested but I'm getting 'Simulated read denied'.
I checked all of the basic questions before inputting this issue -
Did you deploy security rules?
I deployed the rules via the fireconsole (clicking the publish button and waiting for a min).
Did you have loggedin using Firebase Authentication?
I haven't implemented this work, I'm trying to test the security rules via using simulator in console.
I tried basic rule below and it works fine.
if request.auth.uid != null;
Here are the screenshots of my testing -
...ANSWER
Answered 2019-Jul-08 at 13:58When using the security rules simulator, you need to enter the exact, full path of the document to read. You can't use wildcards. Right now, you're trying to using a wildcard in the document path: "/users/{userId}" This isn't going to work. This makes the userId variable in your rules become literally the string "{userId}". What you need to do instead is paste the actual ID of the document you want to test for reading into the form. This is going to be the UID starting with "JoF".
BTW: You are not required to deploy rules in order to test them in the simulator. You can choose to deploy them only after you've tested them.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fireconsole
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page