You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/07 18:56:47 UTC

[GitHub] neerajmangal commented on issue #3204: ability to specify subject as namespace owner to manage other subjects in a namespace.

neerajmangal commented on issue #3204: ability to specify subject as namespace owner to manage other subjects in a namespace.
URL: https://github.com/apache/incubator-openwhisk/issues/3204#issuecomment-363872812
 
 
   @markusthoemmes and @rabbah, thanks for the response. I agree on your points. 
   
   We are developing web UI using Openwhisk APIs, for action developers to create and manage their actions apart from wsk CLI. 
   
   For user and namespace management specifically,  we have created an another light weight external service (python+flask), which expose custom APIs to manage few operations on UI like getting all namespaces associated with user, checking if user is part of any given namespace, adding user to sandbox (default) namespace if user logged in first time to UI etc. 
   
   This service does not directly call the couch DB APIs to do these operations, instead custom APIs leverage/depend-on 'wskadmin' command for these operation (as wskadmin already does call the couchdb APIs internally). We also deployed this service on boot instance as part of our openwhisk deployment (where wskadmin command is available) via ansible using the existing deployment framework for our needs.    
   
   I agree and it is fine, not to support 'create' operation in namespace controller, given the fact that namespace controller is only reader of subjects. But can we support a flag/option in wskadmin command to specify a user as owner of the namespace while creating namespace, that way we can extend our UI and service to enable namespace owners to manage other subjects. 
   
   I can try to do a poc on this. Let me know your suggestions and feedback. 
   
   Thanks,
   Neeraj
           

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services