rads18 opened a new issue #4944:
URL: https://github.com/apache/openwhisk/issues/4944


   <!--
   We use the issue tracker for bugs and feature requests. For general 
questions and discussion please use http://slack.openwhisk.org/ or 
https://openwhisk.apache.org/contact.html instead.
   
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are 
a committer than please add the labels "bug" or "feature". If you are not a 
committer please make clear in the comments which one it is, so that committers 
can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include 
the
   information shown below.
   
   If you are reporting an enhancement request, please include information on 
what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   
https://github.com/apache/openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   *Kubernetes,  kubernetes 1.13
   * Docker version 18.09.7
   
   ## Steps to reproduce the issue:
   
   1.   Create an action with Web enabled 
             wsk -i action create HelloGet helloget.py --web true
   2.   Use the action URL to call it via a browser
             Get action URL > wsk -i action get <ActionName> --url
             Example https://<openwhisk 
url>/api/v1/web/autofocus/default/HelloGet
   
   3.   The subject is random ID in your namespace
   
   
   ## Provide the expected results and outputs:
   
   It should rather tie to an internal OpenWhisk account or allow administrator 
to set a default id to use for web enabled actions
   activations
   output comes here
   ```
       "namespace": "testns",
       "name": "HelloGet",
       "version": "0.0.2",
       **"subject": "<openwhiskweb?>",** <-- Should have ability to use some 
internal id for the activation or allow to set a default ID for web enabled 
activations
   
   
   ## Provide the actual results and outputs:
   
   ```
       "namespace": "testns",
       "name": "HelloGet",
       "version": "0.0.2",
       **"subject": "zuser1",** <-- picks a random ID or appears to be the 
first id with first alphabet descending order
   ```
   
   ## Additional information you deem important:
   * The issue happens consistently for any invocation to web enabled action 
via curl or any browser.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to