You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesatee.apache.org by GitBox <gi...@apache.org> on 2019/12/05 23:15:12 UTC

[GitHub] [incubator-mesatee] litongxin1991 opened a new pull request #128: Access control in TDFS and TMS

litongxin1991 opened a new pull request #128: Access control in TDFS and TMS
URL: https://github.com/apache/incubator-mesatee/pull/128
 
 
   ## Description
   
   Move task access control from FNS to TMS.  Internal requests to TMS need task_id and task_token.
   
   Move file access control from FNS to TDFS:
   1. TMS can ask TDFS to check whether a file is accessible to a user when creating task. 
   2. When FNS/Worker tries to read/write files, it should send the request with task_id and task_token. Then TDFS will check whether a task is allowed to read or write a certain file. 
   
   Documentation will be updated later. 
   
   Fixes #76
   
   ## Type of change (select applied and DELETE the others)
   
   - [X] New feature (non-breaking change which adds functionality)
   
   ## How Has This Been Tested?
   CI: https://ci.mesalock-linux.org/litongxin1991/incubator-mesatee/37
   New test cases in functional_test. 
   
   ## Checklist (check ALL before submitting PR, even not applicable)
   
   - [X] Fork the repo and create your branch from `master`.
   - [X] If you've added code that should be tested, add tests.
   - [ ] If you've changed APIs, update the documentation.
   - [X] Ensure the tests pass (see CI results).
   - [X] Make sure your code lints/format.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mesatee.apache.org
For additional commands, e-mail: dev-help@mesatee.apache.org