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
{{ message }}
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
Describe the bug
When you create route & you add some method like this:
route=zoapp.createRoute("/bots");// Bot createroute.add("POST","",["owner, master"],bots.createBot);// get botsroute.add("GET","",["owner","admin","master"],bots.getBots);
The restriction for this POST route is ["owner", "admin", "master"].
Expected behavior
I think we should be able to chose perfectly the restriction.
In this example the restriction should be ["owner", "master"] for the POST route.
Describe the bug
When you create route & you add some method like this:
The restriction for this
POSTroute is["owner", "admin", "master"].Expected behavior
I think we should be able to chose perfectly the restriction.
In this example the restriction should be
["owner", "master"]for thePOSTroute.See
zoauth/src/zoauthRouter.js
Line 64 in be35783