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 2020/05/11 10:08:54 UTC

[GitHub] [openwhisk] ningyougang edited a comment on pull request #4058: Add protect feature to avoid update or delete actions by mistake

ningyougang edited a comment on pull request #4058:
URL: https://github.com/apache/openwhisk/pull/4058#issuecomment-626607066


   Hi, guys, i push a commit here in this patch: https://github.com/apache/openwhisk/pull/4058/commits/d77a80fd0348d05f3733f95dbc0e016429e96753
   
   Just check whether my direction(permission unix sytle) is right.
   After check in my local, i found that, we can use some parts of unix-sytle. e.g.
   for one action, just have 2 type users.
   * the action's owner
   *  the user (not the owner) who used the shared action directly(eg. get, invoke)
   As we all already know, unix's permission controller has `3` user types, this is the different point.
   
   Another different  point the permission values is restricted
   * for one action, anyway, the user(not the owner) can't write the action, just the owner has the write permission. 
   * the owner's permission can affect the permission as well, e.g. if the owner is not given `read` permission, i think the user(not the owner) can't have `read` permission as well.  if the owner is not give `execute` permission, the  user(not the owner) can't have `execute` permission as well.


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