Browse Source

#3437: [python] Fix permission error when create related objects (#11783)

after we add permission to our codebase in dev branch, will got error
when create objects from pydolphinscheduler, because users with user_id
equal to `Integer.MAX_VALUE` is ordinary users which can not have access
to create unless we grant permission to the role manually. this patch
change dummyUser to admin user's user_id == 1 to fix it
git-as-svn/v1/dev
Jiajie Zhong 2 years ago committed by GitHub
parent
commit
c866a2bf99
  1. 2
      commit.ref
  2. 67
      commit.yml

2
commit.ref

@ -1 +1 @@
Subproject commit 45ebd528d6f70df8f23d930a075cc0d7a451946d Subproject commit 0e534dd61f0a873947652e48e8708a969609cf25

67
commit.yml

@ -2,40 +2,37 @@
branches: { branches: {
} }
fileChange: fileChange:
/dolphinscheduler-worker: /dolphinscheduler-api:
newFile: !uuid 'a04a50fd55a5b593693f1fa64422b65512848ef8' newFile: !uuid 'bb5bc2099dc1ba07d98bdd92c519b147e08eb4b6'
oldFile: !uuid 'c9a9a24ffd874f2aa912d4d265f9687f0e41f4f8' oldFile: !uuid '3025a5a8c8dc750047f5cc1746c643d2c380282d'
/dolphinscheduler-worker/src: /dolphinscheduler-api/src:
newFile: !uuid 'b8f5e29d93effd85582fec6bee88bb4804acb98a' newFile: !uuid '150b49e7e322e4bbdfd6aa4e1a3fe4e813feaf29'
oldFile: !uuid '81c90ff896cddfdd9f6e9510600bff086c016232' oldFile: !uuid '8377194a77c2cba6d9e3a42a9a2a3c4b4cc3e367'
/dolphinscheduler-worker/src/main: /dolphinscheduler-api/src/main:
newFile: !uuid 'c89b710704be298a17c3808c2cde4b0713751b47' newFile: !uuid '0d931f1a9f630927cc9d72cfddb1c3546f7f8564'
oldFile: !uuid 'c355bdb80e570f61ce4c1c13f2d20b316f8166c0' oldFile: !uuid '694ae0c2d0ab28bfb6430e155dd239f63818a5a4'
/dolphinscheduler-worker/src/main/java: /dolphinscheduler-api/src/main/java:
newFile: !uuid 'df9f5a70f9afd34b188515b4fd39ba08392061e9' newFile: !uuid '668c0d3fbb358edf38c2dbe04d14e402bebdaefe'
oldFile: !uuid '83de4bf4452cf2e7cf43f7e2e8d0b2c64273471d' oldFile: !uuid '58f0d59ab34c6a425d70afec20c40a2345d5835c'
/dolphinscheduler-worker/src/main/java/org: /dolphinscheduler-api/src/main/java/org:
newFile: !uuid '77f6e21f35c82992d92d1ebeeedb38d627fb97c3' newFile: !uuid '71bdf52e0f8d1475e203da9d90365157cb291267'
oldFile: !uuid '26e3cdd6fa0933fb985cc923b628e4799001e9d5' oldFile: !uuid '3b6be7471212dd9a9f1f222b5fbe706e7908d9fe'
/dolphinscheduler-worker/src/main/java/org/apache: /dolphinscheduler-api/src/main/java/org/apache:
newFile: !uuid '5e88f24548c984560786088d5941f12d8c7881d8' newFile: !uuid '7f385aae6f6cd1941e1597ab6e3ed473e6b8e079'
oldFile: !uuid '1bfa1b54a98e914a0361541fc43808b851379abe' oldFile: !uuid '66c255d2e28ddf6e16d38f7d6da015b9fd8a0cb8'
/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler: /dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid '658e11c89b243d1c2e052e51710e05c72656be46' newFile: !uuid '3a04e7b103f1b4c1f91b48de8926c170a210636b'
oldFile: !uuid 'b79d79f2f77ff85ebbcfb3a79bb7fd158c7291a2' oldFile: !uuid '445a2847f35b2cf4ff8b4d9cda9bb6bbbe4bb113'
/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server: /dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api:
newFile: !uuid '8176c970b0e3a018e2366c78d73af8c11d74c729' newFile: !uuid '577ee272f3ecbf82f27c945345f6ea4f03ff0804'
oldFile: !uuid '605b41d6654979efb3c2aa2e276cec371c91de39' oldFile: !uuid '08f3b286324ac46c42221b35cd8cfd4bb268b4a1'
/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker: /dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python:
newFile: !uuid '0e3ee95d650eda2dacc8535c171073312fe2b079' newFile: !uuid '2031b375fa0f2684595059a44f92f1e54405bb79'
oldFile: !uuid 'ff750232755e8e67616ba908542d5d67391d6d1f' oldFile: !uuid '9eef6e71935134b597ef726a173edb6697fafd1f'
/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor: /dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python/PythonGateway.java:
newFile: !uuid 'b059938932cb0a62ce81ed66d8beea7776ceb828' newFile: !uuid '1b2102f6b090e77054c21708da246860c36a183a'
oldFile: !uuid 'bcb3378aa82089dfa89045d6cc99749defb992a4' oldFile: !uuid '5d0873e6c9bdb3ba4d399d0320db87995d56622a'
/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java: gitCommitId: !uuid '0e534dd61f0a873947652e48e8708a969609cf25'
newFile: !uuid 'd73cc5b3db6932ffb6841e6e2617e95349cc3f76'
oldFile: !uuid '3aadb5a5cc90b7ed1532fe62b6f3e07078380701'
gitCommitId: !uuid '45ebd528d6f70df8f23d930a075cc0d7a451946d'
renames: { renames: {
} }
revisionId: 3436 revisionId: 3437

Loading…
Cancel
Save