ningyougang edited a comment on pull request #4058: URL: https://github.com/apache/openwhisk/pull/4058#issuecomment-626607066
Hi, guys, i push a temp commit here in this patch, just check my direction(permission unix sytle) is whether right. https://github.com/apache/openwhisk/pull/4058/commits/d77a80fd0348d05f3733f95dbc0e016429e96753 After check in my local, i found that, there has some differences between our own permission management between unix permission management. ### 1. user type is different 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 has `3` user types, this is the different point. ### 2. our own permission value is restricted * for one action, anyway, the user(not the owner) can't modify/delete the action on any situation, 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. How do you guys think? ---------------------------------------------------------------- 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]
