rabbah edited a comment on issue #3880: Modify that web action in the bound 
package can be accessed.
URL: 
https://github.com/apache/incubator-openwhisk/pull/3880#issuecomment-405220811
 
 
   Thanks for trying this. There are some issues to be aware of for packaged 
actions as web actions via bindings. The lack of support isn’t a bug (it was 
intentional at the time). This has come up before so it’s worthwhile to try and 
enable this. 
   
   1. If an action isn’t already a web action in the package, it can’t be 
accessed as a web action through the binding. That is a subject that binds the 
action can’t make it a web action (unless they already own it). So the 
creator/sharer of the package decides which of the actions to make available as 
web actions. Inherently this could create a dependence the subject can't 
control.
   
   2. The entitlement check for a web action today is straightforward: 
namespace must own both and so implicitly entitled to them. With a binding you 
need to check if the binding continues to have rights to the bound package.
   
   3. And of course you’ll need to add tests for the change/new feature. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to